Name | Value | target_param1 | target_param2 | target_param3 | target_x | target_y | target_z | target_o | Comment |
SMART_TARGET_NONE | 0 | | | | | | | | 空,默认为调用者 |
SMART_TARGET_SELF | 1 | | | | | | | | 自己 |
SMART_TARGET_VICTIM | 2 | | | | | | | | 当前的目标(最高仇恨者) |
SMART_TARGET_HOSTILE_SECOND_AGGRO | 3 | | | | | | | | 第二仇恨者 |
SMART_TARGET_HOSTILE_LAST_AGGRO | 4 | | | | | | | | 最低仇恨者 |
SMART_TARGET_HOSTILE_RANDOM | 5 | | | | | | | | 仇恨列表中随机一个 |
SMART_TARGET_HOSTILE_RANDOM_NOT_TOP | 6 | | | | | | | | 除最高仇恨者以外随机一个 |
SMART_TARGET_ACTION_INVOKER | 7 | | | | | | | | 引起事件发生的单位 |
SMART_TARGET_POSITION | 8 | | | | x | y | z | o | 目标点,xyz坐标和o面向 |
SMART_TARGET_CREATURE_RANGE | 9 | creatureEntry (0 any) | minDist | maxDist | | | | | 范围内的参1生物,参2-参3之间的范围中 |
SMART_TARGET_CREATURE_GUID | 10 | guid | entry | | | | | | 参1guid生物(非模板entry) |
SMART_TARGET_CREATURE_DISTANCE | 11 | creatureEntry (0 any) | maxDist | | | | | | 范围内的参1生物,参2范围内 |
SMART_TARGET_STORED | 12 | id | | | | | | | 之前储存好的目标,参1为储存列表中对应的目标ID |
SMART_TARGET_GAMEOBJECT_RANGE | 13 | goEntry (0 any) | minDist | maxDist | | | | | 范围内的参1物体,参2-参3之间的范围中 |
SMART_TARGET_GAMEOBJECT_GUID | 14 | guid | entry | | | | | | 参1guid物体(非模板entry) |
SMART_TARGET_GAMEOBJECT_DISTANCE | 15 | goEntry (0 any) | maxDist | | | | | | 参2范围内的参1物体 |
SMART_TARGET_INVOKER_PARTY | 16 | | | | | | | | 调用者的队伍成员 |
SMART_TARGET_PLAYER_RANGE | 17 | minDist | maxDist | | | | | | 参1-参2范围内的玩家 |
SMART_TARGET_PLAYER_DISTANCE | 18 | maxDist | | | | | | | 参1范围内的玩家 |
SMART_TARGET_CLOSEST_CREATURE | 19 | creatureEntry (0 any) | maxDist | dead? (0/1) | | | | | 参2范围内距离最近的参1生物,参3指定是否是尸体 |
SMART_TARGET_CLOSEST_GAMEOBJECT | 20 | goEntry (0 any) | maxDist | | | | | | 参2范围内距离最近的参1物体 |
SMART_TARGET_CLOSEST_PLAYER | 21 | maxDist | | | | | | | 参1范围内距离最近的玩家 |
SMART_TARGET_ACTION_INVOKER_VEHICLE | 22 | | | | | | | | 调用者的交通工具 |
SMART_TARGET_OWNER_OR_SUMMONER | 23 | | | | | | | | 单位的所有者或者召唤者 |
SMART_TARGET_THREAT_LIST | 24 | | | | | | | | 仇恨列表中的全体 |