refactor(Scripts/Commands): Convert cs_cast to new system (#8997)

This commit is contained in:
IntelligentQuantum
2021-11-08 15:36:51 +03:30
committed by GitHub
parent 27b880876d
commit 4653641a0b
2 changed files with 70 additions and 208 deletions

View File

@@ -410,9 +410,10 @@ enum TriggerCastFlags
TRIGGERED_IGNORE_CASTER_AURAS = 0x00010000, //! Will ignore caster aura restrictions or requirements
TRIGGERED_DISALLOW_PROC_EVENTS = 0x00020000, //! Disallows proc events from triggered spell (default)
TRIGGERED_DONT_REPORT_CAST_ERROR = 0x00040000, //! Will return SPELL_FAILED_DONT_REPORT in CheckCast functions
TRIGGERED_FULL_MASK = 0x0007FFFF, //! Used when doing CastSpell with triggered == true
TRIGGERED_IGNORE_EQUIPPED_ITEM_REQUIREMENT = 0x00080000, //! Will ignore equipped item requirements
TRIGGERED_NO_PERIODIC_RESET = 0x00100000, //! Periodic aura tick wont be reset on override
TRIGGERED_FULL_MASK = 0xFFFFFFFF
TRIGGERED_FULL_DEBUG_MASK = 0xFFFFFFFF
};
enum UnitMods