Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions code/modules/cargo/packsrogue/wizardvend/level3.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
/obj/item/book/granter/spell/spells5e/findfamiliar5e
)

/*

/datum/supply_pack/rogue/l3/lichdom5e
name = "Lichdom"
cost = 200
cost = 300
contains = list(
/obj/item/book/granter/spell/spells5e/lichdom5e
)
*/


/datum/supply_pack/rogue/l3/lifesteal5e
name = "Life Steal"
Expand Down
4 changes: 2 additions & 2 deletions code/modules/spells/roguetown/spells5e/spellscrolls.dm
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,15 @@
spellname = "find familiar"
icon_state = "scrollpurple"

/* it's broken but i'll fix it later.
// Really powerful BUT it works
/obj/item/book/granter/spell/spells5e/lichdom5e
name = "Scroll of Lesser Lichdom"
desc = "A dark necromantic scroll that seems to pulse with an otherworldly energy. The parchment is made of an unusual material that feels cold to the touch, and the ink seems to writhe and move of its own accord."
spell = /obj/effect/proc_holder/spell/targeted/lichdom
spellname = "lesser lichdom"
icon_state = "scrollpurple"
remarks = list("The pursuit of immortality through lichdom is a dangerous path, one that strips away not only your mortal form but your very soul.", "A soul bound to a phylactery is never truly free. The price of eternal life is a curse, for the lich will never know rest again.", "To achieve lichdom, one must master the deepest secrets of necromancy—those that most would call abominable. But is it worth the cost?", "In the pursuit of godlike power, a lich sacrifices all that is left of their humanity. The question remains—what is the point of eternal life if you lose what makes you truly alive?")
*/

/obj/item/book/granter/spell/spells5e/lifesteal5e
name = "Scroll of Life Steal"
spell = /obj/effect/proc_holder/spell/invoked/projectile/lifesteal
Expand Down
17 changes: 12 additions & 5 deletions code/modules/spells/spell_types/lichdom.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
if(!marked_item)
to_chat(M, span_warning("None of the items you hold are suitable for emplacement of your fragile soul."))
return
if(ishuman(M))
var/mob/living/carbon/human/V = M
if(V.has_quirk(/datum/quirk/vampire))
to_chat(V, span_warning("You are a vampire and have no mortal life to give"))
return

playsound(user, 'sound/misc/deadbell.ogg', 100, FALSE)
playsound(user, pick('sound/vo/male/gen/agony (1).ogg','sound/vo/male/gen/agony (2).ogg'), 50, FALSE)
Expand Down Expand Up @@ -85,10 +90,10 @@
if(ishuman(M))
var/mob/living/carbon/human/H = M
for(var/obj/item/bodypart/B in H.bodyparts)
B.skeletonize(FALSE)
/*B.skeletonize(FALSE)

H.hair_color = "bababa"
H.facial_hair_color = "bababa"
H.facial_hair_color = "bababa"*/
H.update_body()
H.update_hair()
H.update_body_parts(redraw = TRUE)
Expand All @@ -101,7 +106,7 @@
ADD_TRAIT(H, TRAIT_TOXIMMUNE, TRAIT_GENERIC)
ADD_TRAIT(H, TRAIT_NOSLEEP, TRAIT_GENERIC)
H.mob_biotypes |= MOB_UNDEAD
H.faction |= list("lesser_undead")
H.faction |= list("lesser_undead", "undead", "lich")

H.change_stat("strength", -5)
H.change_stat("endurance", -5)
Expand Down Expand Up @@ -183,14 +188,14 @@
lich.facial_hair_color = "bababa"
lich.update_body()
lich.update_hair()
lich.update_body_parts(redraw = TRUE)
lich.update_body_parts(redraw = TRUE)

var/base_health = 75
var/new_max_health = max(25, base_health - (25 * resurrections))
lich.setMaxHealth(new_max_health)
lich.health = lich.maxHealth
lich.mob_biotypes |= MOB_UNDEAD
lich.faction |= list("lesser_undead")
lich.faction |= list("lesser_undead", "undead", "lich")

ADD_TRAIT(lich, TRAIT_NOMOOD, TRAIT_GENERIC)
ADD_TRAIT(lich, TRAIT_EASYDISMEMBER, TRAIT_GENERIC)
Expand Down Expand Up @@ -268,3 +273,5 @@
. += span_warning("The bone pulls [dir2text(direction)].")
else
. += span_warning("The bone seems inert.")

. += span_warning("The bone seems inert.")
Loading