mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
data (#17893)
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
spells += new_spell
|
||||
new_spell.Grant(owner, src)
|
||||
to_chat(owner, "<span class='cult'>Your wounds glow with power, you have prepared a [new_spell.name] invocation!</span>")
|
||||
SSblackbox.record_feedback("tally", "cult_spells_prepared", 1, "[name]")
|
||||
channeling = FALSE
|
||||
|
||||
/datum/action/innate/cult/blood_magic/proc/remove_spell(message = "Pick a spell to remove.")
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
if(narsie_rune)
|
||||
for(var/obj/effect/rune/I in orange(1, R))
|
||||
qdel(I)
|
||||
|
||||
SSblackbox.record_feedback("tally", "runes_scribed", 1, "[R.cultist_name]")
|
||||
R.blood_DNA = list()
|
||||
R.blood_DNA[H.dna.unique_enzymes] = H.dna.blood_type
|
||||
R.add_hiddenprint(H)
|
||||
|
||||
@@ -176,10 +176,14 @@ structure_check() searches for nearby cultist structures required for the invoca
|
||||
|
||||
/obj/effect/rune/proc/invoke(list/invokers)
|
||||
//This proc contains the effects of the rune as well as things that happen afterwards. If you want it to spawn an object and then delete itself, have both here.
|
||||
SHOULD_CALL_PARENT(TRUE)
|
||||
var/ghost_invokers = 0
|
||||
for(var/M in invokers)
|
||||
var/mob/living/L = M
|
||||
if(!L)
|
||||
return
|
||||
if(L.has_status_effect(STATUS_EFFECT_SUMMONEDGHOST))
|
||||
ghost_invokers++
|
||||
if(invocation)
|
||||
if(!L.IsVocal())
|
||||
L.emote("gestures ominously.")
|
||||
@@ -190,6 +194,9 @@ structure_check() searches for nearby cultist structures required for the invoca
|
||||
L.apply_damage(invoke_damage, BRUTE)
|
||||
to_chat(L, "<span class='cultitalic'>[src] saps your strength!</span>")
|
||||
do_invoke_glow()
|
||||
SSblackbox.record_feedback("nested tally", "runes_invoked", 1, list("[initial(cultist_name)]", "[length(SSticker.mode.cult)]")) // the name of the rune, and the number of cultists in the cult when it was invoked
|
||||
if(ghost_invokers)
|
||||
SSblackbox.record_feedback("nested tally", "runes_invoked_with_ghost", 1, list("[initial(cultist_name)]", "[ghost_invokers]")) //the name of the rune and the number of ghosts used to invoke it.
|
||||
|
||||
/**
|
||||
* Spawns the phase in/out effects for a cult teleport.
|
||||
|
||||
Reference in New Issue
Block a user