diff options
Diffstat (limited to 'docs/smart_scripts.md')
| -rw-r--r-- | docs/smart_scripts.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index e8ab849..e6e04b4 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -219,8 +219,10 @@ This is the probability of the event to occur as a percentage from 0-100. So, if | SMART_EVENT_DISTANCE_GAMEOBJECT | 76 | database guid | database entry | distance | repeat interval (ms) | | On gameobject guid OR any instance of gameobject entry is within distance. | | SMART_EVENT_COUNTER_SET | 77 | counterID | value | cooldownMin | cooldownMax | | If the value of specified counterID is equal to a specified value | | SMART_EVENT_SUMMONED_UNIT_DIES | 82 | CreatureId(0 all) | CooldownMin | CooldownMax | | | | -| SMART_EVENT_NEAR_PLAYERS | 101 | minPlayers | Range (yards) | FirstCheck (ms) | RepeatCheck (ms) | | Event will trigger if there are more than minPlayers in range. | -| SMART_EVENT_NEAR_PLAYERS_NEGATION | 102 | maxPlayers | Range (yards) | FirstCheck (ms) | RepeatCheck (ms) | | Event will trigger if there are less than maxPlayers in range. | +| SMART_EVENT_NEAR_PLAYERS | 101 | minPlayers | Range (yards) | FirstCheck (ms) | RepeatMin (ms) | RepeatMax (ms) | Event will trigger if there are more than minPlayers in range. | +| SMART_EVENT_NEAR_PLAYERS_NEGATION | 102 | maxPlayers | Range (yards) | FirstCheck (ms) | RepeatMin (ms) | RepeatMax (ms) | Event will trigger if there are less than maxPlayers in range. | +| SMART_EVENT_NEAR_UNIT | 103 | Unit type to check (0: creature 1: gob) | Entry (template) | Count | Range | Timer (ms) | Will check for >= count of specified entry within range | +| SMART_EVENT_AREA_CASTING | 104 | Spell Id (0: any spell) | Range (0: unlimited) | RepeatMin (ms) | RepeatMax (ms) | Check Timer (ms) | Will check threat list for hostiles casting. If none found, repeat w/ param5 | ### action\_type |
