mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[MIRROR] Bible refactor [MDB IGNORE] (#21190)
* Bible refactor * Delete book.dm * updatepaths * you're meaning to tell me i have to edit CODE?? --------- Co-authored-by: ChungusGamer666 <82850673+ChungusGamer666@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com> Co-authored-by: Jolly-66 <70232195+Jolly-66@users.noreply.github.com>
This commit is contained in:
co-authored by
ChungusGamer666
Tom
Jolly-66
parent
71e0d530d3
commit
d3f2386664
@@ -14,8 +14,11 @@
|
||||
|
||||
/datum/smite/bad_luck/effect(client/user, mob/living/target)
|
||||
. = ..()
|
||||
//if permanent, replace any existing omen
|
||||
if(permanent)
|
||||
var/existing_component = target.GetComponent(/datum/component/omen)
|
||||
qdel(existing_component)
|
||||
target.AddComponent(/datum/component/omen/smite, permanent = permanent)
|
||||
|
||||
if(silent)
|
||||
return
|
||||
to_chat(target, span_warning("You get a bad feeling..."))
|
||||
|
||||
Reference in New Issue
Block a user