mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
Merge pull request #3541 from VampyrBytes/VampPassives
Fixes Vamp Passives (#2812)
This commit is contained in:
@@ -203,6 +203,7 @@ You are weak to holy things and starlight. Don't go into space and avoid the Cha
|
||||
var/list/powers = list() // list of available powers and passives, see defines in setup.dm
|
||||
var/mob/living/carbon/human/draining // who the vampire is draining of blood
|
||||
var/nullified = 0 //Nullrod makes them useless for a short while.
|
||||
var/upgradedRegen = 0
|
||||
/datum/vampire/New(gend = FEMALE)
|
||||
gender = gend
|
||||
|
||||
@@ -324,8 +325,9 @@ You are weak to holy things and starlight. Don't go into space and avoid the Cha
|
||||
vamp.powers.Add(VAMP_BATS)
|
||||
if(!(VAMP_SCREAM in vamp.powers))
|
||||
vamp.powers.Add(VAMP_SCREAM)
|
||||
// Commented out until we can figured out a way to stop this from spamming.
|
||||
//src << "\blue Your rejuvination abilities have improved and will now heal you over time when used."
|
||||
if(!(vamp.upgradedRegen)) // to prevent spamming
|
||||
src << "<span class='notice'>Your rejuvination abilities have improved and will now heal you over time when used."
|
||||
vamp.upgradedRegen = 1
|
||||
|
||||
// TIER 3.5 (/vg/)
|
||||
if(vamp.bloodtotal >= 250)
|
||||
|
||||
@@ -387,7 +387,7 @@
|
||||
H.see_invisible = SEE_INVISIBLE_LIVING
|
||||
|
||||
if(H.mind && H.mind.vampire)
|
||||
if(VAMP_VISION in H.mind.vampire.powers && !(VAMP_FULL in H.mind.vampire.powers))
|
||||
if((VAMP_VISION in H.mind.vampire.powers) && (!(VAMP_FULL in H.mind.vampire.powers)))
|
||||
H.sight |= SEE_MOBS
|
||||
|
||||
else if(VAMP_FULL in H.mind.vampire.powers)
|
||||
|
||||
Reference in New Issue
Block a user