Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/050f55b62fded4cc73b76e42d56d98ea950cc26a)
This commit is contained in:
@@ -237,8 +237,11 @@ namespace Framework.Constants
|
||||
SceneCancel = 80, // none
|
||||
SceneComplete = 81, // none
|
||||
SummonedUnitDies = 82, // CreatureId(0 all), CooldownMin, CooldownMax
|
||||
OnSpellCast = 83, // SpellID, CooldownMin, CooldownMax
|
||||
OnSpellFailed = 84, // SpellID, CooldownMin, CooldownMax
|
||||
OnSpellStart = 85, // SpellID, CooldownMin, CooldownMax
|
||||
|
||||
End = 83
|
||||
End = 86
|
||||
}
|
||||
|
||||
public enum SmartActions
|
||||
|
||||
@@ -98,13 +98,6 @@ 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