feat(Core/SAI): Implement SMART_TARGET_INSTANCE_STORAGE (#14981)
This commit is contained in:
parent
2eb1c21216
commit
8a39bd050a
3 changed files with 44 additions and 0 deletions
|
|
@ -1426,6 +1426,7 @@ enum SMARTAI_TARGETS
|
|||
SMART_TARGET_RANDOM_POINT = 202, // range, amount (for summoning creature), self als middle (0/1) else use xyz
|
||||
SMART_TARGET_ROLE_SELECTION = 203, // Range Max, TargetMask (Tanks (1), Healer (2) Damage (4)), resize list
|
||||
SMART_TARGET_SUMMONED_CREATURES = 204, // Entry
|
||||
SMART_TARGET_INSTANCE_STORAGE = 205, // Instance data index, Type (creature (1), gameobject (2))
|
||||
|
||||
SMART_TARGET_AC_END = 205 // placeholder
|
||||
};
|
||||
|
|
@ -1595,6 +1596,12 @@ struct SmartTarget
|
|||
uint32 param3;
|
||||
uint32 param4;
|
||||
} raw;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 index;
|
||||
uint32 type;
|
||||
} instanceStorage;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue