ID:146561
 
mob
player
npc
proc/bite(mob/player/victim)
//If the victim is non-existant or not really a /mob/player,
//then end the proc right here
if(!(victim && istype(victim))) return
if(victim.level > 260 && prob(3))
//victim gets bitten
if(prob(10))
//victim gets cursed
victim.contents += new/obj/seal()

mob/Shinobi
icon = 'npc.dmi'
icon_state = "Elit_Shinobi"
density = 1
bite()

I called the bite proc but it does not work, it gives me the proc is undefined

You didn't actually call the bite() proc in mob/Shinobi. To call it it would actually have called from a verb or another proc. What you did is put bite() into the base information for this mob, where you'd put vars and such, as if you were going to override it.

Lummox JR
You also have to put shinobi under mob/npc or move the bite proc.