aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Logging/Log.cpp
diff options
context:
space:
mode:
authorDiscover- <amort11@hotmail.com>2013-12-17 10:23:31 +0100
committerDiscover- <amort11@hotmail.com>2013-12-17 10:23:31 +0100
commitb5e333255b38c61deda8d6ae519c51097d5214d2 (patch)
tree178186b6a43422265a3abe7a65be41c34b151380 /src/server/shared/Logging/Log.cpp
parent20a22662df5442ba9b171f2cde22be50ed75bdc3 (diff)
DB/SAI: Fix two wrong action_types that would make the creature cast the Death Touch spell on no target (SMART_TARGET_NONE) instead of move to given target_x/y/z/o co-ordinates.
The person who wrote this script accidently used action_type 11 (SMART_ACTION_CAST) instead of 69 (SMART_ACTION_MOVE_TO_POS), and since the action_param1 field of SMART_ACTION_MOVE_TO_POS is the motion id (point id given back to SMART_EVENT_MOVEMENTINFORM), it was set to 5. Ironically, the first parameter of SMART_ACTION_CAST is the spell id and it was spell id 5 is Death Touch. However this script would do nothing because I changed it so that SMART_TARGET_NONE no longer functioned as SMART_TARGET_ACTION_INVOKER in this commit: 9653576cb4cc9449898d6af691c045d68e9361c5. Before this commit, though, it WOULD cast Death Touch. Fun fun fun.
Diffstat (limited to 'src/server/shared/Logging/Log.cpp')
0 files changed, 0 insertions, 0 deletions