mob var arrows = 0 maxarrows = 20 bombs = 0 maxbombs = 20 hearts = 3 maxhearts = 3 magic = 0 maxmagic = 40 rupees = 0 maxrupees = 100 amount = 0 canfight mob player icon = 'link.dmi' mob proc projectile(obj/projectile,var/dir,var/delay) sleep(1) walk(projectile,dir) sleep(delay) del(projectile) obj var canfight arrow icon='arrow.dmi' icon_state = "normal" density=1 layer = 5 canfight=1 Bump(mob/M) //here is the effects //here is the effects if(istype(M,/mob) && M.canfight == 1)//if it is in the fighting area M.hearts -=0.5 M <0) usr.arrows -= 1 view(6)<