mob
verb
Cast_Ice_On_Weapon()
if(usr.mana <= 10)
if(usr.weapon_equipped == 1)
if(usr.ecasted == 1)
usr.weaponpower+=20
usr.overlays += 'Ice.dmi'
usr.mana -= 10
usr.ecasted = 1
else
usr << " You do not have enough mana!"
else
usr << " You do not have a weapon equipped!"
else
usr << " You already have an elemen
Problem description:
It says that the second else clause has no preceding if statement, which I clearly made three if's and three elses. Anyone see the problem? I might have been able to see it if I wasn't a bit tired at the moment, but I checked for like 10 minutes, I know it's a bit noobish but I can't find it.