mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Fix Asclepius again (#94381)
This commit is contained in:
@@ -40,7 +40,6 @@
|
||||
to_chat(user, span_warning("The snake carving seems to come alive, if only for a moment, before returning to its dormant state, almost as if it finds you incapable of holding its oath."))
|
||||
return
|
||||
var/mob/living/carbon/itemUser = user
|
||||
var/usedHand = itemUser.get_held_index_of_item(src)
|
||||
if(itemUser.has_status_effect(/datum/status_effect/hippocratic_oath))
|
||||
to_chat(user, span_warning("You can't possibly handle the responsibility of more than one rod!"))
|
||||
return
|
||||
@@ -56,9 +55,12 @@
|
||||
to_chat(itemUser, failText)
|
||||
return
|
||||
|
||||
to_chat(itemUser, span_notice("The snake, satisfied with your oath, attaches itself and the rod to your forearm with an inseparable grip. Your thoughts seem to only revolve around the core idea of helping others, and harm is nothing more than a distant, wicked memory..."))
|
||||
var/datum/status_effect/hippocratic_oath/effect = itemUser.apply_status_effect(/datum/status_effect/hippocratic_oath)
|
||||
effect.hand = usedHand
|
||||
apply_oath(itemUser)
|
||||
|
||||
/obj/item/rod_of_asclepius/proc/apply_oath(mob/living/carbon/user)
|
||||
to_chat(user, span_notice("The snake, satisfied with your oath, attaches itself and the rod to your forearm with an inseparable grip. Your thoughts seem to only revolve around the core idea of helping others, and harm is nothing more than a distant, wicked memory..."))
|
||||
var/datum/status_effect/hippocratic_oath/effect = user.apply_status_effect(/datum/status_effect/hippocratic_oath)
|
||||
effect.hand = user.get_held_index_of_item(src)
|
||||
activated()
|
||||
|
||||
/obj/item/rod_of_asclepius/proc/activated()
|
||||
|
||||
Reference in New Issue
Block a user