mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Prevents stacking burn meds on burn wounds [MDB IGNORE] (#25578)
* Prevents stacking burn meds on burn wounds (#80256) ## About The Pull Request Currently using burn ointment/mesh on a limb with a burn wound doesn't set the do_after target to the target, so you can keep stacking as many applications you want at once. This fixes that. ## Why It's Good For The Game Consistency ## Changelog 🆑 Ryll/Shaps fix: You can no longer stack more than one applications of a burn wound at once /🆑 * Prevents stacking burn meds on burn wounds --------- Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
@@ -202,7 +202,7 @@
|
||||
user.visible_message(span_notice("[user] begins applying [I] to [victim]'s [limb.plaintext_zone]..."), span_notice("You begin applying [I] to [user == victim ? "your" : "[victim]'s"] [limb.plaintext_zone]..."))
|
||||
if (I.amount <= 0)
|
||||
return TRUE
|
||||
if(!do_after(user, (user == victim ? I.self_delay : I.other_delay), extra_checks = CALLBACK(src, PROC_REF(still_exists))))
|
||||
if(!do_after(user, (user == victim ? I.self_delay : I.other_delay), target = victim, extra_checks = CALLBACK(src, PROC_REF(still_exists))))
|
||||
return TRUE
|
||||
|
||||
limb.heal_damage(I.heal_brute, I.heal_burn)
|
||||
|
||||
@@ -215,7 +215,7 @@
|
||||
|
||||
user.visible_message(span_notice("[user] begins licking the wounds on [victim]'s [limb.plaintext_zone]."), span_notice("You begin licking the wounds on [victim]'s [limb.plaintext_zone]..."), ignored_mobs=victim)
|
||||
to_chat(victim, span_notice("[user] begins to lick the wounds on your [limb.plaintext_zone]."))
|
||||
if(!do_after(user, base_treat_time, target=victim, extra_checks = CALLBACK(src, PROC_REF(still_exists))))
|
||||
if(!do_after(user, base_treat_time, target = victim, extra_checks = CALLBACK(src, PROC_REF(still_exists))))
|
||||
return
|
||||
|
||||
user.visible_message(span_notice("[user] licks the wounds on [victim]'s [limb.plaintext_zone]."), span_notice("You lick some of the wounds on [victim]'s [limb.plaintext_zone]"), ignored_mobs=victim)
|
||||
@@ -241,7 +241,7 @@
|
||||
/datum/wound/slash/flesh/proc/las_cauterize(obj/item/gun/energy/laser/lasgun, mob/user)
|
||||
var/self_penalty_mult = (user == victim ? 1.25 : 1)
|
||||
user.visible_message(span_warning("[user] begins aiming [lasgun] directly at [victim]'s [limb.plaintext_zone]..."), span_userdanger("You begin aiming [lasgun] directly at [user == victim ? "your" : "[victim]'s"] [limb.plaintext_zone]..."))
|
||||
if(!do_after(user, base_treat_time * self_penalty_mult, target=victim, extra_checks = CALLBACK(src, PROC_REF(still_exists))))
|
||||
if(!do_after(user, base_treat_time * self_penalty_mult, target = victim, extra_checks = CALLBACK(src, PROC_REF(still_exists))))
|
||||
return
|
||||
var/damage = lasgun.chambered.loaded_projectile.damage
|
||||
lasgun.chambered.loaded_projectile.wound_bonus -= 30
|
||||
|
||||
Reference in New Issue
Block a user