*Fix Gargoyle feeding behaviour - original patch by thenecromancer.
*Add SPELL_TARGET_TYPE_CONTROLLED for spell_script_target table for fast search of units(grid search skipped) and to prevent applying effects to not owned summons --HG-- branch : trunk
This commit is contained in:
+3
-2
@@ -533,10 +533,11 @@ enum SpellScriptTargetType
|
||||
{
|
||||
SPELL_TARGET_TYPE_GAMEOBJECT = 0,
|
||||
SPELL_TARGET_TYPE_CREATURE = 1,
|
||||
SPELL_TARGET_TYPE_DEAD = 2
|
||||
SPELL_TARGET_TYPE_DEAD = 2,
|
||||
SPELL_TARGET_TYPE_CONTROLLED = 3,
|
||||
};
|
||||
|
||||
#define MAX_SPELL_TARGET_TYPE 3
|
||||
#define MAX_SPELL_TARGET_TYPE 4
|
||||
|
||||
struct SpellTargetEntry
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user