ID:145413
 
Code:
mob
verb
IntoBattleTest()
if(usr.Class="Warrior")
usr.icon_state="Battle"
if(usr.Class="Mage")
usr.icon_state="Battle1"
usr.overlays+= /obj/battles/magebattle
if(usr.Class="Archer")
usr.icon_state="Battle1"
usr.overlays+= /obj/battles/archerbattle


Problem description:

What in the world is wrong with this?

The errors are:
A Nutty Adventure.dm:53:error::missing expression
A Nutty Adventure.dm:55:error::missing expression
A Nutty Adventure.dm:58:error::missing expression

Should be if(thingy==thingy), notice the 2 '='.
mob
verb
IntoBattleTest()
if(usr.Class=="Warrior")
usr.icon_state="Battle"
if(usr.Class=="Mage")
usr.icon_state=="Battle1"
usr.overlays+= /obj/battles/magebattle
if(usr.Class=="Archer")
usr.icon_state="Battle1"
usr.overlays+= /obj/battles/archerbattle



easy as this