[CD3.55] Damage script

Join Discord

Exsodius

Dedicated Member
Dedicated Member
Mar 24, 2010
593
36
115
Hello all,

I'm trying to make a clickable item unleash firecloud. Currently the script works to a degree but only on 1 square.

I would like the firecloud to have a larger radius (4x4 etc). The original script:

#ACT
MOV A0 %USERMAP
MOV A1 %USERX
MOV A2 %USERY
FORMATSTR "%S,%S,%S," %A0 %A1 %A2
MOV A3 %A9
FORMATSTR "%S,%S,%S, +d400, +t120, +h" %A3 %A1 %A2
MapSpell [Firewall] "%A9
Take DamageAllGem 1

THEDAYIDIE kindly suggested the following but that still wouldn't work:

#ACT
MOV A0 %USERMAP
MOV A1 %USERX
MOV A2 %USERY
FORMATSTR "%S,%S,%S," %A0 %A1 %A2
MOV A3 %A9
FORMATSTR "%S,%S,%S, +d400, +t120, +h" %A3 %A1 %A2
MapSpell [Firewall] "%A9
Take DamageAllGem 1
goto @cordinates2


[@cordinates2]
#ACT
INC A1 1
INC A2 1
FORMATSTR "%S,%S,%S," %A0 %A1 %A2
MOV A3 %A9
FORMATSTR "%S,%S,%S, +d400, +t120, +h" %A3 %A1 %A2
MapSpell [Firewall] "%A9
goto @cordinates3


[@cordinates3]
#ACT
DEC A1 1
DEC A2 1
FORMATSTR "%S,%S,%S," %A0 %A1 %A2
MOV A3 %A9
FORMATSTR "%S,%S,%S, +d400, +t120, +h" %A3 %A1 %A2
MapSpell [Firewall] "%A9

Any ideas please?
 

Relentless

LOMCN Veteran
Veteran
Mar 9, 2012
491
34
55
Hull-England
#ACT
MOV A0 %USERMAP
MOV A1 %USERX
MOV A2 %USERY
FORMATSTR "%S,%S,%S," %A0 %A1 %A2

Change the blue %S to your Range, 1 for spot your standing on, 2 for your space and 8 around you and soo on, so for a normal firecloud it would be set as 2, or if you want a Taddy Firecloud set it to 3.

Goodluck. if this doesnt work its your second set of %S's.

Regards, Ben.
 
Upvote 0