Yay! Another problem for you guys to help me with :-D in Developer Help
|
|
Code:
obj/Training_Projectile icon = 'courses.dmi' icon_state = "spell" density = 1 New() walk(src,SOUTH,1) Bump(mob/M) if(istype(M,/mob)) M.loc=locate(259,319,2) M.XP += M.score M.score = 0 del(src) Bump(turf/T) if(istype(T, /turf)) for(var/mob/M in view()) M.score += 10 del(src)
|
Problem description:
WHen the projectile hits the player, it does nothing.
|
This should do what you need, assuming I understand the issue. As far as I can tell, you were just overriding the entire first Bump() proc.