Core/Auras: removed caster dependency from core
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf1a8c62820004df92b9ac567ba75f7281e6e2)
This commit is contained in:
@@ -287,7 +287,7 @@ namespace Scripts.Spells.Monk
|
||||
if (auraEff != null)
|
||||
{
|
||||
float total = auraEff.GetAmount();
|
||||
float tickDamage = aurEff.GetDamage();
|
||||
float tickDamage = aurEff.GetAmount();
|
||||
auraEff.ChangeAmount((int)(total - tickDamage));
|
||||
}
|
||||
}
|
||||
@@ -359,7 +359,7 @@ namespace Scripts.Spells.Monk
|
||||
{
|
||||
AuraEffect eff = auraDamage.GetEffect(0);
|
||||
if (eff != null)
|
||||
eff.SetDamage((int)tickDamage);
|
||||
eff.ChangeAmount((int)tickDamage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user