Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts: src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp src/server/scripts/EasternKingdoms/zone_isle_of_queldanas.cpp src/server/scripts/Spells/spell_dk.cpp src/server/scripts/Spells/spell_druid.cpp src/server/scripts/Spells/spell_shaman.cpp src/server/scripts/Spells/spell_warrior.cpp
This commit is contained in:
commit
da91ae1f22
93 files changed
+2131
-827
No files matched your search
@@ -229,11 +229,17 @@ public:
|
||||
{
|
||||
PrepareAuraScript(spell_warl_pet_scaling_01_AuraScript);
|
||||
|
||||
public:
|
||||
spell_warl_pet_scaling_01_AuraScript()
|
||||
{
|
||||
_tempBonus = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
bool Load() override
|
||||
{
|
||||
if (!GetCaster() || !GetCaster()->GetOwner() || GetCaster()->GetOwner()->GetTypeId() != TYPEID_PLAYER)
|
||||
return false;
|
||||
_tempBonus = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -366,11 +372,17 @@ public:
|
||||
{
|
||||
PrepareAuraScript(spell_warl_pet_scaling_02_AuraScript);
|
||||
|
||||
public:
|
||||
spell_warl_pet_scaling_02_AuraScript()
|
||||
{
|
||||
_tempBonus = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
bool Load() override
|
||||
{
|
||||
if (!GetCaster() || !GetCaster()->GetOwner() || GetCaster()->GetOwner()->GetTypeId() != TYPEID_PLAYER)
|
||||
return false;
|
||||
_tempBonus = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -880,6 +892,13 @@ public:
|
||||
{
|
||||
PrepareAuraScript(spell_hun_pet_scaling_01_AuraScript);
|
||||
|
||||
public:
|
||||
spell_hun_pet_scaling_01_AuraScript()
|
||||
{
|
||||
_tempHealth = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
void CalculateStaminaAmount(AuraEffect const* /* aurEff */, int32& amount, bool& /*canBeRecalculated*/)
|
||||
{
|
||||
if (Unit* pet = GetUnitOwner())
|
||||
@@ -1457,11 +1476,17 @@ public:
|
||||
{
|
||||
PrepareAuraScript(spell_dk_pet_scaling_01_AuraScript);
|
||||
|
||||
public:
|
||||
spell_dk_pet_scaling_01_AuraScript()
|
||||
{
|
||||
_tempHealth = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
bool Load() override
|
||||
{
|
||||
if (!GetCaster() || !GetCaster()->GetOwner() || GetCaster()->GetOwner()->GetTypeId() != TYPEID_PLAYER)
|
||||
return false;
|
||||
_tempHealth = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user