Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1594c7295f1ca3f21a63a13895abf371d8bd3e0)
This commit is contained in:
@@ -98,6 +98,13 @@ namespace Framework.Constants
|
||||
Ranged = 2 //hunter range and ranged weapon
|
||||
}
|
||||
|
||||
public enum SpellFinishReason
|
||||
{
|
||||
SuccessfulCast = 0, // spell has sucessfully launched
|
||||
Canceled = 1, // spell has been canceled (interrupts)
|
||||
ChannelingComplete = 2 // spell channeling has been finished
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum SpellInterruptFlags
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user