Merge pull request #886 from veganzombeh/vampire

Prevents vampires getting fat by drinking too much blood.
This commit is contained in:
ZomgPonies
2015-04-27 11:08:02 -04:00
3 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -1486,9 +1486,9 @@ datum
on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
if(prob(50)) M.heal_organ_damage(1,0)
if(!(M.mind in ticker.mode.vampires))
M.nutrition += nutriment_factor // For hunger and fatness
if(prob(50)) M.heal_organ_damage(1,0)
..()
return