fix(Scripts/SunwellPlateau): Muru - Changed the amount of Tick Negative Energy Periodic (#21102)
This commit is contained in:
parent
64d524f889
commit
d62c6e36d8
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ class spell_entropius_negative_energy_periodic : public AuraScript
|
|||
void PeriodicTick(AuraEffect const* aurEff)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
uint32 targetCount = aurEff->GetTickNumber() > 12 ? 1 : aurEff->GetTickNumber() / 12;
|
||||
uint32 targetCount = (aurEff->GetTickNumber() + 11) / 12;
|
||||
GetTarget()->CastCustomSpell(aurEff->GetSpellInfo()->Effects[EFFECT_0].TriggerSpell, SPELLVALUE_MAX_TARGETS, targetCount);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue