ID:138882
 
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.
obj/Training_Projectile
icon = 'courses.dmi'
icon_state = "spell"
density = 1
New()
walk(src,SOUTH,1)
Bump(atom/A)
if(ismob(A))
var/mob/M = A
M.loc=locate(259,319,2)
M.XP += M.score
M.score = 0
del(src)
if(isturf(A))
for(var/mob/M in view())
M.score += 10
del(src)



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.
In response to Robertbanks2
I swear I tried that, anyway , thanks, it works