Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/smart_scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
| SMART_ACTION_REMOVE_UNIT_FLAG | 19 | (may be more than one field OR'd together) | type<br/>If false set creature_template.unit_flags<br/>If true set creature_template.unit_flags2 | | | | | Can Remove Multi-able flags at once |
| SMART_ACTION_AUTO_ATTACK | 20 | AllowAttackState (0 = Stop attack, anything else means continue attacking) | | | | | | Stop or Continue Automatic Attack. |
| SMART_ACTION_ALLOW_COMBAT_MOVEMENT | 21 | AllowCombatMovement (0 = Stop combat based movement, anything else continue attacking) | | | | | | Allow or Disable Combat Movement |
| SMART_ACTION_SET_EVENT_PHASE | 22 | event_phase_mask | | | | | | Set event phase 0-12 (the actual values, no bit mask!) |
| SMART_ACTION_SET_EVENT_PHASE | 22 | mEventPhase | | | | | | Set event phase 0-12 (the actual values, no bit mask!) |
| SMART_ACTION_INC_EVENT_PHASE | 23 | Increment | Decrement | | | | | Set param1 OR param2 (not both). Value 0 has no effect. |
| SMART_ACTION_EVADE | 24 | | | | | | | Evade Incoming Attack |
| SMART_ACTION_FLEE_FOR_ASSIST | 25 | 0/1 (If you want the fleeing NPC to say attempts to flee text on flee, use 1 on param1. For no message use 0.) | | | | | | If you want the fleeing NPC to say '%s attempts to run away in fear' on flee, use 1 on param1. 0 for no message. |
Expand Down