Closed DavideRei closed 1 year ago
Yes, this is a problem, most likely ACTARG2 is involved. If you want to temporarily solve this problem with a script, you can add the code below. After this problem is fixed, you can remove the script.
// temp solution for #1070 issue
ON=@SKILLMENU
IF (<ARGS> == SM_SUMMON)
SRC.FLAGS &= ~STATF_WAR
ENDIF
or you can fix it temporarily by adding the following code under the s_summon_creature spell.
[SPELL 40]
DEFNAME=s_summon_creature
..
..
..
ON=@SELECT
// temp solution for #1070 issue
SRC.FLAGS &= ~STATF_WAR
IF (<ACTARG2> == 0) // block if an entity is not assigned to actarg2.
SRC.SYSMESSAGE <DEFMSG.msg_summon_invalidtarg>
RETURN 1
ENDIF
The first solution works, thank you. The second solution don't in @select, it blocks summon creature. In @start blocks summon creature if casted after selecting a target.
Fix sent
it works, thank you
.add c_zombie set the war status in the paperdoll dclick on zombie .cast s_summon_creature
.cast s_summon_creature now work
if you dclick again the zombie and .cast s_summon_creature another c_man is summoned