obj/Arrow
icon = 'weapons.dmi'
icon_state="Arrow_Moving"
density = 1
Bump(atom/a)
if(ismob(a))
if(a.icon=='ENEMIES.dmi')
a.hp-=25
del(src) else
del(src)
Problem description:
For some reason, when I try to compile my code, it gives me this error:
Weapons.dm:154:error:a.hp:undefined var
I'm not completely sure why it does this, if you can help me, I'd appreciate it.