Heal and DamageZones

Join Discord

XloverBoy7X

LOMCN Veteran
Veteran
Dec 4, 2010
416
101
70
Dundee
I made stones on my server for the healing and damage zones and connected them with my scripts but somehow the zones dont work, stones disapear on click but nothing happens.

Could any1 check the scripts for me?


SetItemEvent 61 75 @HealZoneEvent_Main

[@HealZoneEvent_Main]
#IF
checkitem HealingStone 1
#ACT
Mov A0 %USERMAP
Mov A1 %USERX
Mov A2 %USERY
FormatStr "%s,%s,%s,20" %A0 %A1 %A2 ;(20 is the radius around)
MakeHealZone %A9 15 60 [GROUP] ;(15 seconds is the time it lasts and 60 is the HP it heals per second)
Take HealingStone 1

;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;

SetItemEvent 61 76 @FireZoneEvent_Main

[@FireZoneEvent_Main]
#IF
checkitem FireWallStone 1
#ACT
Mov A0 %USERMAP
Mov A1 %USERX
Mov A2 %USERY
FormatStr "%s,%s,%s,20" %A0 %A1 %A2 ;(20 is the radius around)
Mov A4 %A9
MapSpell [firewall] "%A4,%A1,386, +d100, +t15, +
Take FireWallStone 1

SetItemEvent 61 77 @IceZoneEvent_Main

[@IceZoneEvent_Main]
#IF
checkitem IceWallStone 1
#ACT
Mov A0 %USERMAP
Mov A1 %USERX
Mov A2 %USERY
FormatStr "%s,%s,%s,20" %A0 %A1 %A2 ;(20 is the radius around)
Mov A4 %A9
MapSpell [icewall] "%A4,%A1,386, +d100, +t15, +
Take IceWallStone 1
 

Zordon

Golden Oldie
Golden Oldie
Apr 26, 2008
1,176
20
145
Manchester, UK
been a while since i worked on holley scripts but I am pretty sure that script is completely wrong. Has lots of bits missing from it all the way through which I suspect is why it fails. I'll have a look at the one I have later and see if I can figure out where yours has gone wrong.
 
Upvote 0