diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-11-28 04:24:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-12-12 09:07:30 +0300 |
commit | 1f78dc3468f1a4afe1f8bd09ea340a715af1d206 (patch) | |
tree | f2d8f0f61cacd8590d8caf402a243bc6ec2de294 /doc | |
parent | 79f7a2274092f892ec183ed11cc16609c3a2f180 (diff) | |
download | hercules-1f78dc3468f1a4afe1f8bd09ea340a715af1d206.tar.gz hercules-1f78dc3468f1a4afe1f8bd09ea340a715af1d206.tar.bz2 hercules-1f78dc3468f1a4afe1f8bd09ea340a715af1d206.tar.xz hercules-1f78dc3468f1a4afe1f8bd09ea340a715af1d206.zip |
Add script function specialeffectnum
Diffstat (limited to 'doc')
-rw-r--r-- | doc/effect_list.md | 2 | ||||
-rw-r--r-- | doc/script_commands.txt | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/effect_list.md b/doc/effect_list.md index 8ba8d36c9..b16839d41 100644 --- a/doc/effect_list.md +++ b/doc/effect_list.md @@ -21,7 +21,7 @@ The following is a compiled list of visual and sound effects which the client can produce. Each list entry contains a number and a short description of the effect. You can produce these effects ingame by using the `@effect` atcommand. It's also possible to attach effects to item/npc scripts by using the -`specialeffect()` script command. +`specialeffect()` or `specialeffectnum()` script commands. ID | Constant Name | Description --: | :----------------------------- | :---------------------------------- diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 45636f23b..b55afb0f2 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -6231,6 +6231,15 @@ Example usage: --------------------------------------- +*specialeffectnum(<effect number>, <num1>, <num2>{, <send_target>{, <unit id>{, <account id>}}}) +*specialeffectnum(<effect number>, <num1>, <num2>{, <send_target>{, "<NPC Name>"{, <account id>}}}) + +Works same as specialeffect but also send effect numbers to client. +For PACKETVER >= 20191127 support two numbers (num1, num2). +For older packet versions only num1 supported. + +--------------------------------------- + *removespecialeffect(<effect number>{, <send_target>{, <unit id>{, <account id>}}}) *removespecialeffect(<effect number>{, <send_target>{, "<NPC Name>"{, <account id>}}}) |