Core/SmartScript: Allow flag to be added to spell to determine combat movement.
Greatly simplifies SAI combat scripting.
This commit is contained in:
1 parent
48d8af0962
commit
b407e72339
2 files changed
+21
-1
No files matched your search
@@ -1283,7 +1283,8 @@ enum SmartCastFlags
|
||||
//SMARTCAST_FORCE_CAST = 0x04, //Forces cast even if creature is out of mana or out of range
|
||||
//SMARTCAST_NO_MELEE_IF_OOM = 0x08, //Prevents creature from entering melee if out of mana or out of range
|
||||
//SMARTCAST_FORCE_TARGET_SELF = 0x10, //Forces the target to cast this spell on itself
|
||||
SMARTCAST_AURA_NOT_PRESENT = 0x20 //Only casts the spell if the target does not have an aura from the spell
|
||||
SMARTCAST_AURA_NOT_PRESENT = 0x20, //Only casts the spell if the target does not have an aura from the spell
|
||||
SMARTCAST_COMBAT_MOVE = 0x40 //Prevents combat movement if cast successful. Allows movement on range, OOM, LOS
|
||||
};
|
||||
|
||||
// one line in DB is one event
|
||||
|
||||
Reference in new issue
Block a user