ID:262005
 
Vash_616 wrote:
But when i call fireprojectile(/obj/projectile/Knife,src) the darn thing never removes damage! please help

It removes damage. The question is, though, from who?

obj
projectile
Bump(O)
if(ismob(O))
src.health -= src.damage*1.5
//do your damage routine here
endmissile() // we hit something, so the missile stopshttp://developer.byond.com/forum/ index.cgi?action=forum_help#posting
Posting help
O:deathcheck()

Try removing the health from O instead of from src(the projectile). You also might want to try using typecasting and periods instead of a semicolon. You'll have less errors later.
In response to Jon88
projectiles.dm:46:error:O.health:undefined var
In response to Vash_616
Vash_616 wrote:
projectiles.dm:46:error:O.health:undefined var

Instead of plain old O, try doing some typecasting so that the compiler knows that you're talking about a mob.
var/mob/M = O
usr << "Mob's health is: [M.health]"

Do the typecasting after you've checked if O is a mob, however.