Scripts: fixed more warnings

This commit is contained in:
Ovahlord committed 2019-10-04 15:58:38 +02:00
1 parent 3214588fbe
commit 5a02e15e86
14 files changed
+25 -23

No files matched your search

-2
View File
@@ -597,8 +597,6 @@ class spell_hun_pet_scaling_03 : public AuraScript
void CalculateArmorAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated)
{
canBeRecalculated = true;
int32 resistanceSchool = GetSpellInfo()->Effects[aurEff->GetEffIndex()].MiscValue;
if (Pet* pet = GetUnitOwner()->ToPet())
{
if (Player* owner = pet->GetOwner())