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
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