Skip to content

Commit

Permalink
add update for SMART_EVENT_IS_IN_MELEE_RANGE (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
sogladev authored Nov 23, 2024
1 parent f70080e commit 0dc3bea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/smart_scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
| SMART_EVENT_SUMMONED_UNIT_EVADE | 107 | CreatureId (0 all) | CooldownMin | CooldownMax | | | | On Summoned Unit Evade |
| SMART_EVENT_WAYPOINT_DATA_REACHED | 108 | PointId (0 any) | pathId (0 any) | | | | | On Creature Waypoint Reached. Uses 'waypoint_data' table |
| SMART_EVENT_WAYPOINT_DATA_ENDED | 109 | PointId (0 any) | pathId (0 any) | | | | | On Creature Waypoint Finished. Uses 'waypoint_data' table |
| SMART_EVENT_IS_IN_MELEE_RANGE | 110 | InitialMin | InitialMax | RepeatMin | RepeatMax | Distance | Invert | On Creature is in melee range of target |
### action\_type

| Name | Value | Param1 | Param2 | Param3 | Param4 | Param5 | Param6 | Comment |
Expand Down Expand Up @@ -606,3 +607,4 @@ INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES (y, 'SmartTrigg
- SMART\_EVENT\_AREA\_CASTING
- SMART\_EVENT\_AREA\_RANGE
- SMART\_EVENT\_SUMMONED\_UNIT\_EVADE
- SMART\_EVENT\_IS\_IN\_MELEE\_RANGE

0 comments on commit 0dc3bea

Please sign in to comment.