summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSamsequel <20357406+Samsequel@users.noreply.github.com>2022-12-26 03:09:15 +0100
committerGitHub <noreply@github.com>2022-12-26 03:09:15 +0100
commit7878a6afdbd38537e5212330356556fe60d91fb8 (patch)
tree4831b982979e72918449dcfdcabd06dd86ce17e4 /docs
parent6970eae6195cbcc78bf79d617335a99b9718a4ff (diff)
downloadwiki-7878a6afdbd38537e5212330356556fe60d91fb8.tar.gz
wiki-7878a6afdbd38537e5212330356556fe60d91fb8.tar.bz2
wiki-7878a6afdbd38537e5212330356556fe60d91fb8.zip
feat: Add flag 512 to smart_script wiki (#847)
Diffstat (limited to 'docs')
-rw-r--r--docs/smart_scripts.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md
index 37e35bd..7ee505e 100644
--- a/docs/smart_scripts.md
+++ b/docs/smart_scripts.md
@@ -135,6 +135,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
| SMART_EVENT_FLAG_RESERVED_6 | 64 | 0x40 | |
| SMART_EVENT_FLAG_DEBUG_ONLY | 128 | 0x80 | Event only occurs in debug build |
| SMART_EVENT_FLAG_DONT_RESET | 256 | 0x100 | Event will not reset in SmartScript::OnReset() |
+| SMART_EVENT_FLAG_WHILE_CHARMED | 512 | 0x200 | Event occurs even if AI owner is charmed |
- Sets if the event should not repeat or should only happen in a given instance/dungeon difficulty (if applicable);
- Values can be added together (bitwise math).