;Death Ray - Skill

HellFireDirection = GetUserDirection(#USERID)

CreateEffect(0,700,250,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(2,1000,300,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(0,1300,350,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(2,1600,400,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(0,1900,450,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(2,2100,500,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(0,2400,550,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(2,800,550,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(0,1000,500,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(2,1200,450,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(0,1400,400,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(2,1600,350,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(0,1800,300,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))
CreateEffect(2,2000,250,HellFireDirection,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID))

If HellFireDirection = #DIR_LEFT
HellFireDamageLeft1 = GetUserAtXY(GetUserMap(#USERID),GetUserX(#USERID)-1,GetUserY(#USERID))
HellFireDamageLeft2 = GetUserAtXY(GetUserMap(#USERID),GetUserX(#USERID)-2,GetUserY(#USERID))
HellFireDamageLeft3 = GetUserAtXY(GetUserMap(#USERID),GetUserX(#USERID)-3,GetUserY(#USERID))
HellFireDamageLeft4 = GetUserAtXY(GetUserMap(#USERID),GetUserX(#USERID)-4,GetUserY(#USERID))
EndIf

; HellFireDamageLeft1=0
; HellFireDamageLeft2=0
; HellFireDamageLeft3=0
; HellFireDamageLeft4=0

If HellFireDamageLeft1 >0
DamageUser(HellFireDamageLeft1,8000)
SendMessageToMap(GetUserMap(#USERID),"HIT! LEFT 1!",#MSG_CRITICAL)
EndIf
If HellFireDamageLeft2 >0
DamageUser(HellFireDamageLeft2,8000)
SendMessageToMap(GetUserMap(#USERID),"HIT! LEFT 2!",#MSG_CRITICAL)
EndIf
If HellFireDamageLeft3 >0
DamageUser(HellFireDamageLeft3,8000)
SendMessageToMap(GetUserMap(#USERID),"HIT! LEFT 3!",#MSG_CRITICAL)
EndIf
If HellFireDamageLeft4 >0
DamageUser(HellFireDamageLeft4,8000)
SendMessageToMap(GetUserMap(#USERID),"HIT! LEFT 4!",#MSG_CRITICAL)
EndIf

Continue = 1