summaryrefslogtreecommitdiff
path: root/docs/smart_scripts.md
diff options
context:
space:
mode:
authorGultask <100873791+Gultask@users.noreply.github.com>2023-07-02 03:57:59 -0300
committerGitHub <noreply@github.com>2023-07-02 08:57:59 +0200
commit813016b8ca600e52fd6a6b5688cf8482fbf7b7e8 (patch)
tree4a07999e70f53031ebbe3a14ee12870aa8327447 /docs/smart_scripts.md
parent38ec8e25831522457c106e40d7a8239a0bd74c31 (diff)
downloadwiki-813016b8ca600e52fd6a6b5688cf8482fbf7b7e8.tar.gz
wiki-813016b8ca600e52fd6a6b5688cf8482fbf7b7e8.tar.bz2
wiki-813016b8ca600e52fd6a6b5688cf8482fbf7b7e8.zip
Update smart_scripts.md (#907)
Diffstat (limited to 'docs/smart_scripts.md')
-rw-r--r--docs/smart_scripts.md6
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