diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2020-05-02 16:48:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-02 16:48:38 +0200 |
| commit | 87d7353e736c678d260bcc14176c05fb19e8ccdc (patch) | |
| tree | a929178da8a88ede5641bdb4b7a46ff25e4bb709 /docs | |
| parent | 0dcac1ff55255e8f90743809568d482adea3dcf6 (diff) | |
| download | wiki-87d7353e736c678d260bcc14176c05fb19e8ccdc.tar.gz wiki-87d7353e736c678d260bcc14176c05fb19e8ccdc.tar.bz2 wiki-87d7353e736c678d260bcc14176c05fb19e8ccdc.zip | |
Add new SMART_TARGET types (#211)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/smart_scripts.md | 87 |
1 files changed, 69 insertions, 18 deletions
diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index 2b2901e..4e4cbd4 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -4242,9 +4242,8 @@ This is the probability of the event to occur as a percentage from 0-100. So, if </p></td> <td><p><br /> </p></td> -<td><p><br /> -</p></td> -<td><p>All players up to maxCount within the specified range.</p></td> +<td><p>When target.o is set and it didnt find any targets in min-max range, it will try all possible targets in max range instead.</p></td> +<td><p>All players up to maxCount within the specified range. Excluding GMs and Dead.</p></td> </tr> <tr class="odd"> <td><p>SMART_TARGET_PLAYER_DISTANCE</p></td> @@ -4385,10 +4384,10 @@ This is the probability of the event to occur as a percentage from 0-100. So, if <td><p>All units on creature's threat list within the specified distance if maxDist > 0</p></td> </tr> <tr class="even"> -<td>SMART_TARGET_CLOSEST_ENEMY</td> -<td>25</td> -<td>maxDist</td> -<td>playerOnly (0/1)</td> +<td><p>SMART_TARGET_CLOSEST_ENEMY</p></td> +<td><p>25</p></td> +<td><p>maxDist</p></td> +<td><p>playerOnly (0/1)</p></td> <td><p><br /> </p></td> <td><p><br /> @@ -4401,13 +4400,13 @@ This is the probability of the event to occur as a percentage from 0-100. So, if </p></td> <td><p><br /> </p></td> -<td>Any attackable target (creature or player) within maxDist</td> +<td><p>Any attackable target (creature or player) within maxDist</p></td> </tr> <tr class="odd"> -<td>SMART_TARGET_CLOSEST_FRIENDLY</td> -<td>26</td> -<td>maxDist</td> -<td>playerOnly (0/1)</td> +<td><p>SMART_TARGET_CLOSEST_FRIENDLY</p></td> +<td><p>26</p></td> +<td><p>maxDist</p></td> +<td><p>playerOnly (0/1)</p></td> <td><p><br /> </p></td> <td><p><br /> @@ -4420,14 +4419,14 @@ This is the probability of the event to occur as a percentage from 0-100. So, if </p></td> <td><p><br /> </p></td> -<td>Any friendly unit (creature, player or pet) within maxDist</td> +<td><p>Any friendly unit (creature, player or pet) within maxDist</p></td> </tr> <tr class="even"> -<td>SMART_TARGET_FARTHEST</td> -<td>28</td> -<td>maxDist</td> -<td>playerOnly (0/1)</td> -<td>isInLos (0/1)</td> +<td><p>SMART_TARGET_FARTHEST</p></td> +<td><p>28</p></td> +<td><p>maxDist</p></td> +<td><p>playerOnly (0/1)</p></td> +<td><p>isInLos (0/1)</p></td> <td><p><br /> </p></td> <td><p><br /> @@ -4440,6 +4439,58 @@ This is the probability of the event to occur as a percentage from 0-100. So, if </p></td> <td><p>Farthest unit on the threat list</p></td> </tr> +<tr class="odd"> +<td><p>SMART_TARGET_PLAYER_WITH_AURA</p></td> +<td><p>201</p></td> +<td><p>spellID</p></td> +<td><p>Negative (0/1)</p></td> +<td><p>MaxDist</p></td> +<td><p>MinDist</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p><p>Number to resize the target list</p></td> +<td><p><p>Target players with or without aura</p></td> +</tr> +<tr class="even"> +<td><p>SMART_TARGET_RANDOM_POINT</p></td> +<td>201</p></td> +<td><p>range (yards)</p></td> +<td><p>amount (for summoning creature)</p></td> +<td><p>self as middle (0/1)<br /> +else use xyz</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p>This only works with SMART_ACTION_SUMMON_CREATURE, SMART_ACTION_MOVE_TO_POS and SMART_ACTION_JUMP_TO_POS</p></td> +</tr> +<tr class="odd"> +<td><p>SMART_TARGET_ROLE_SELECTION</p></td> +<td>201</p></td> +<td><p>rangeMax (yards)</p></td> +<td><p>TargetMask (Tanks (1), Healer (2) Damage (4))</p></td> +<td><p>Resize list</p></td> +<td><p></p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +<td><p>Target a Tank/Healer/DPS role. Based on the players spec.</p></td> +</tr> </tbody> </table> |
