mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[11311] Add SCRIPT_COMMAND_ATTACK_START to initiate attack by creature.
../docs/script_commands.txt updated for details Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
b92ebd994f
commit
acb6372d29
5 changed files with 102 additions and 1 deletions
|
|
@ -208,6 +208,11 @@ spell_scripts
|
|||
* datalong2=creature entry
|
||||
* datalong3=search radius
|
||||
|
||||
26 SCRIPT_COMMAND_ATTACK_START source = WorldObject (but Creature must be final source/attacker, set with datalong-fields where needed), target = Unit/none
|
||||
* datalong2 = creature entry (searching for a buddy, closest to source)
|
||||
* datalong3 = creature search radius
|
||||
* data_flags = flag_original_source_as_target = 0x02
|
||||
flag_buddy_as_target = 0x04 (When this flag is not set, buddy will be the attacker when buddy is defined)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue