Core/SAI: refactored SMART_EVENT_FRIENDLY_HEALTH_PCT to reflect the behavior of SMART_EVENT_FRIENDLY_HEALTH
* added radius event parameter to limit the search range of the executing creature * moved the pct check to a macro and corrected the selection logic to support all target types
This commit is contained in:
1 parent
b0101ecb67
commit
b875d77dc8
8 files changed
+59
-54
No files matched your search
@@ -0,0 +1,3 @@
|
||||
UPDATE `smart_scripts` SET `event_param5`= `event_param4` WHERE `event_type`= 74;
|
||||
UPDATE `smart_scripts` SET `event_param4`= `event_param3` WHERE `event_type`= 74;
|
||||
UPDATE `smart_scripts` SET `event_param3`= 100 WHERE `event_type`= 74; -- normalizing all existing uses of this smart event to 100 yards
|
||||
Reference in new issue
Block a user