mob/proc
death(mob/M,bury=0)
if(clan=="Uchiha"&&M.clan=="Uchiha"&&skillclanjutsu1>=5&&M.skillclanjutsu1>=5)
if(hp<=0)
M<<output("<b>You have had your eyes stolen!","infobox")
if(M.skillclanjutsu1==6)
del/obj/jutsu/uchiha/Eternal_Mangekyou_Sharingan
M.skillclanjutsu1=5
M.blind=100
Problem description:
There is two parts to this code but this is the part that has the problem.
the first part allows the person with the req to kill someone of the clan==Uchiha and gain the skill Eternal mangekyou.
now this part is to controll when the loser dies. When the loser dies it doesnt say to them. their eyes were stolen. and it doesnt make them lose the skill. And also it keeps letting their hp drop bellow zero even though its in the death proc. would i need to make a whole seperate check proc for this type of death and add death to it?
if(hp<=0)
It should be M.hp.