Relocates combat log proc as a child of unarmed_attack, adds procs for

checking antagonists and close combat modifiers
This commit is contained in:
Hubblenaut
2014-11-20 17:42:40 +01:00
parent 67d9af1d50
commit 70db4b52e8
6 changed files with 100 additions and 114 deletions
+9 -1
View File
@@ -1204,7 +1204,15 @@ datum/mind
return (duration <= world.time - brigged_since)
//Antagonist role check
/mob/living/proc/check_special_role(role)
if(mind)
if(!role)
return mind.special_role
else
return (mind.special_role == role) ? 1 : 0
else
return 0
//Initialisation procs
/mob/living/proc/mind_initialize()