Files
Paradise/code/game/gamemodes/vampire/vampire_subclasses.dm
Charlie 634f9c72f1 Vampire Rework. (#16476)
* vampire rework

* fixes and tweaks

* cleanup + tweaks

* grug stomp

* TGUI

* TGUI rebuild

* UID fix

* debugging cooldown fix

* first review changes

* subclass refactor

* tweaks + some sprites

* blackbox logging

* tweaks + grammar

* minor UI tweaks

* ability icon sprites.

* placeholder sprite warning fix

* melee mod code comment warning

* nullification rework

* final sprites!

* fixes

* sabre review pt 1

Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>

* sabre review pt2

* sprites readd

* tgui rebuild

* removes traitor vampires

* fixes

* readds sprites

* runtime fixes

* hotfix

* more runtime fixes

* glare tweak. less confusing when the vampire is stunned.

* gargantua nerf

* minor tweaks.

* hemomancer nerfs

* bugfixes and cleanup

* I did a dumb

* couple of fixes

* confusion and shadow snare fixes

* hemomancer nerfs part 2 electric boogaloo

* TGUI rebuild

* fixes and easier events

* Umbrae tweaks

* gargantua tweak

* umbrae nerf 2 electric boogaloo. also var edit suggestion

* runtime fix

* buffs blood nutrition to be in line with its metabolic rate

* Henk stuff

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* more review changes

* final tweak

* affected request + runtime fix

* FUCK

* fat fucks

* darkness tweaks

* UMBRAE AAAAAAAAAAAAAHH

* force doors bugfix

* either git or I am drunk

* admin rejuv fix

* I CANNOT SPELL

* shitnt code

* steel review

* tgui rebuild

* mochi review

* vampire ability usage logging

Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
2021-11-14 15:34:56 +01:00

71 lines
3.4 KiB
Plaintext

/datum/vampire_subclass
/// The subclass' name. Used for blackbox logging.
var/name = "yell at coderbus"
/// A list of powers that a vampire unlocks. The value of the list entry is equal to the blood total required for the vampire to unlock it.
var/list/standard_powers
/// A list of the powers a vampire unlocks when it reaches full power.
var/list/fully_powered_abilities
/// Whether or not a vampire heals more based on damage taken.
var/improved_rejuv_healing = FALSE
/datum/vampire_subclass/proc/add_subclass_ability(datum/vampire/vamp)
for(var/thing in standard_powers)
if(vamp.bloodtotal >= standard_powers[thing])
vamp.add_ability(thing)
/datum/vampire_subclass/proc/add_full_power_abilities(datum/vampire/vamp)
for(var/thing in fully_powered_abilities)
vamp.add_ability(thing)
/datum/vampire_subclass/umbrae
name = "umbrae"
standard_powers = list(/obj/effect/proc_holder/spell/self/vampire/cloak = 150,
/obj/effect/proc_holder/spell/targeted/click/shadow_snare = 250,
/obj/effect/proc_holder/spell/targeted/click/dark_passage = 400,
/obj/effect/proc_holder/spell/aoe_turf/vamp_extinguish = 600)
fully_powered_abilities = list(/datum/vampire_passive/full,
/obj/effect/proc_holder/spell/self/vampire/eternal_darkness,
/datum/vampire_passive/xray)
/datum/vampire_subclass/hemomancer
name = "hemomancer"
standard_powers = list(/obj/effect/proc_holder/spell/self/vampire/vamp_claws = 150,
/obj/effect/proc_holder/spell/targeted/click/blood_tendrils = 250,
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/blood_pool = 400,
/obj/effect/proc_holder/spell/blood_eruption = 600)
fully_powered_abilities = list(/datum/vampire_passive/full,
/obj/effect/proc_holder/spell/self/vampire/blood_spill)
/datum/vampire_subclass/gargantua
name = "gargantua"
standard_powers = list(/obj/effect/proc_holder/spell/self/vampire/blood_swell = 150,
/obj/effect/proc_holder/spell/self/vampire/blood_rush = 250,
/datum/vampire_passive/blood_swell_upgrade = 400,
/obj/effect/proc_holder/spell/self/vampire/overwhelming_force = 600)
fully_powered_abilities = list(/datum/vampire_passive/full,
/obj/effect/proc_holder/spell/targeted/click/charge)
improved_rejuv_healing = TRUE
/datum/vampire_subclass/ancient
name = "ancient"
standard_powers = list(/obj/effect/proc_holder/spell/self/vampire/vamp_claws,
/obj/effect/proc_holder/spell/self/vampire/blood_swell,
/obj/effect/proc_holder/spell/self/vampire/cloak,
/obj/effect/proc_holder/spell/targeted/click/blood_tendrils,
/obj/effect/proc_holder/spell/self/vampire/blood_rush,
/obj/effect/proc_holder/spell/targeted/click/shadow_snare,
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/blood_pool,
/datum/vampire_passive/blood_swell_upgrade,
/obj/effect/proc_holder/spell/targeted/click/dark_passage,
/obj/effect/proc_holder/spell/blood_eruption,
/obj/effect/proc_holder/spell/self/vampire/overwhelming_force,
/obj/effect/proc_holder/spell/aoe_turf/vamp_extinguish,
/obj/effect/proc_holder/spell/targeted/raise_vampires,
/obj/effect/proc_holder/spell/targeted/enthrall,
/datum/vampire_passive/full,
/obj/effect/proc_holder/spell/self/vampire/blood_spill,
/obj/effect/proc_holder/spell/targeted/click/charge,
/obj/effect/proc_holder/spell/self/vampire/eternal_darkness,
/datum/vampire_passive/xray)
improved_rejuv_healing = TRUE