;Moldy Spores in the Underworks on map #1150
;Timed script.

DAMAGE = Floor(GetUserMaxHP(#PARAM1)/10)

If DAMAGE < GetUserHP(#PARAM1)
	If #PARAM2 > 0
		Timer(564,Random(1000,5000),#PARAM1,#PARAM2-1,0)
	EndIf
EndIf

DamageUser(#PARAM1, DAMAGE)

Continue = 1