Having problems with Bump() in Developer Help
mob enemies Bump(mob/m) //when you bump into it if(istype(m,/mob)) //making sure it's a mob m.hp-- //lowers their HP m.Death_Check() //eh... obvious.
Well, it's not imperative that he change it, but I like it better >_>
atom/movable Bump(var/atom/a) .=..() a.Bumped(src) // 'a' will be bumped.atom proc Bumped(var/atom/a)mob enemies Bumped(var/atom/a) // when you bump into it. if(ismob(a)) var/mob/m = a m.hp-- m.Death_Check()