Core/SmartAI: change SMART_ACTION_RISE_UP (114) to SMART_ACTION_MOVE_OFFSET and implement offset movement via target fields.

This commit is contained in:
Aokromes committed 2016-07-15 18:49:06 +02:00
1 parent fa5965fdfb
commit 1f08b4e7d9
5 files changed
+25 -18

No files matched your search

@@ -0,0 +1,2 @@
UPDATE `smart_scripts` SET `action_type`=114, `target_z`=`action_param1`, `action_param1`=0 WHERE `action_type` = 114 AND `action_param1` != 0;
UPDATE `smart_scripts` SET `action_type`=114, `target_y`=`action_param1`, `action_param1`=0 WHERE `action_type` = 46 AND `action_param1` != 0;