Core/Spells: Allow skipping automatic removal of auras from spell_area when condition is no longer met (mostly used for cosmetic cutscenes after quest completion)

This commit is contained in:
hondacrx
2018-01-28 19:37:36 -05:00
parent 95e76df6ff
commit 84fdaef291
6 changed files with 151 additions and 77 deletions
@@ -2425,4 +2425,10 @@ namespace Framework.Constants
IncludeGCD = 0x1, // Starts GCD in addition to normal cooldown specified in the packet
IncludeEventCooldowns = 0x2 // Starts GCD for spells that should start their cooldown on events, requires SPELL_COOLDOWN_FLAG_INCLUDE_GCD set
}
public enum SpellAreaFlag
{
AutoCast = 0x1, // if has autocast, spell is applied on enter
AutoRemove = 0x2, // if has autoremove, spell is remove automatically inside zone/area (allways removed on leaving area or zone)
}
}