mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
Makes vampires more containable
This commit is contained in:
@@ -357,22 +357,46 @@
|
||||
M.SetConfused(0)
|
||||
return
|
||||
if(ishuman(M) && M.mind && M.mind.vampire && !M.mind.vampire.get_ability(/datum/vampire_passive/full) && prob(80))
|
||||
switch(current_cycle)
|
||||
if(1 to 4)
|
||||
to_chat(M, "<span class = 'warning'>Something sizzles in your veins!</span>")
|
||||
M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2)
|
||||
if(5 to 12)
|
||||
to_chat(M, "<span class = 'danger'>You feel an intense burning inside of you!</span>")
|
||||
M.adjustFireLoss(1)
|
||||
M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2)
|
||||
if(13 to INFINITY)
|
||||
to_chat(M, "<span class = 'danger'>You suddenly ignite in a holy fire!</span>")
|
||||
for(var/mob/O in viewers(M, null))
|
||||
O.show_message(text("<span class = 'danger'>[] suddenly bursts into flames!<span>", M), 1)
|
||||
M.fire_stacks = min(5,M.fire_stacks + 3)
|
||||
M.IgniteMob() //Only problem with igniting people is currently the commonly availible fire suits make you immune to being on fire
|
||||
M.adjustFireLoss(3) //Hence the other damages... ain't I a bastard?
|
||||
M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2)
|
||||
var/mob/living/carbon/V = M
|
||||
if(M.mind.vampire.bloodusable)
|
||||
M.Stuttering(1)
|
||||
M.Jitter(30)
|
||||
M.adjustStaminaLoss(5)
|
||||
if(prob(20))
|
||||
M.emote("scream")
|
||||
M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2)
|
||||
M.mind.vampire.bloodusable = max(M.mind.vampire.bloodusable - 20,0)
|
||||
if(M.mind.vampire.bloodusable)
|
||||
V.vomit(0,1)
|
||||
else
|
||||
holder.remove_reagent(id, volume)
|
||||
V.vomit(0,0)
|
||||
return
|
||||
else
|
||||
switch(current_cycle)
|
||||
if(1 to 4)
|
||||
to_chat(M, "<span class = 'warning'>Something sizzles in your veins!</span>")
|
||||
M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2)
|
||||
if(5 to 12)
|
||||
to_chat(M, "<span class = 'danger'>You feel an intense burning inside of you!</span>")
|
||||
M.adjustFireLoss(1)
|
||||
M.Stuttering(1)
|
||||
M.Jitter(20)
|
||||
if(prob(20))
|
||||
M.emote("scream")
|
||||
M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2)
|
||||
if(13 to INFINITY)
|
||||
to_chat(M, "<span class = 'danger'>You suddenly ignite in a holy fire!</span>")
|
||||
for(var/mob/O in viewers(M, null))
|
||||
O.show_message(text("<span class = 'danger'>[] suddenly bursts into flames!<span>", M), 1)
|
||||
M.fire_stacks = min(5,M.fire_stacks + 3)
|
||||
M.IgniteMob() //Only problem with igniting people is currently the commonly availible fire suits make you immune to being on fire
|
||||
M.adjustFireLoss(3) //Hence the other damages... ain't I a bastard?
|
||||
M.Stuttering(1)
|
||||
M.Jitter(30)
|
||||
if(prob(40))
|
||||
M.emote("scream")
|
||||
M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2)
|
||||
..()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user