mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Oversized Quirk Buffs (#4482)
# To be merged after #4479 ## About The Pull Request Oversized people have very few upsides, their duffelbag slowdown mixed with their huge sprite size means they are are absurdly vulnerable to just about any melee fight. This PR increases their health to 140 from 100. Or, if this PR is mistakenly merged before #4479 then to 189 from 135? ## Why It's Good For The Game Balances out the significant downside of oversized. Makes oversized more roleplay-friendly; someone that big shouldn't be just as weak as a 4ft catboy. ## Proof Of Testing <details> <summary>Screenshots/Videos</summary> <img width="481" height="378" alt="image" src="https://github.com/user-attachments/assets/db61ca76-4b49-449d-abbe-0b4a7cca1dcb" /> It's 189 because the other PR hasn't gone through yet. Once it does, it'll be 140. </details> ## Changelog 🆑 balance: Oversized people go from 100 to 140 health. /🆑
This commit is contained in:
@@ -2,3 +2,6 @@
|
||||
#define JOULES_PER_DAMAGE (30 KILO JOULES)
|
||||
/// Calculates the amount of burn force when applying this much energy to a mob via electrocution from an energy source.
|
||||
#define ELECTROCUTE_DAMAGE(energy) (energy >= 1 KILO JOULES ? clamp(round(energy / JOULES_PER_DAMAGE) + rand(-5,5), 10, (HUMAN_MAXHEALTH-10)) : 0)
|
||||
|
||||
/// Health buff for having the oversized quirk.
|
||||
#define OVERSIZED_HEALTH_BUFF 1.4
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
human_holder.maptext_height = 32 * human_holder.dna.features["body_size"] //Adjust runechat height
|
||||
human_holder.dna.update_body_size()
|
||||
human_holder.mob_size = MOB_SIZE_LARGE
|
||||
human_holder.maxHealth = HUMAN_MAXHEALTH * OVERSIZED_HEALTH_BUFF
|
||||
human_holder.health += ((HUMAN_MAXHEALTH * OVERSIZED_HEALTH_BUFF) - HUMAN_MAXHEALTH)
|
||||
|
||||
RegisterSignal(human_holder, COMSIG_CARBON_POST_ATTACH_LIMB, PROC_REF(on_gain_limb)) // make sure we handle this when new ones are applied
|
||||
|
||||
@@ -50,6 +52,8 @@
|
||||
human_holder.maptext_height = 32 * human_holder.dna.features["body_size"]
|
||||
human_holder.dna.update_body_size()
|
||||
human_holder.mob_size = MOB_SIZE_HUMAN
|
||||
human_holder.maxHealth = HUMAN_MAXHEALTH
|
||||
human_holder.health -= ((HUMAN_MAXHEALTH * OVERSIZED_HEALTH_BUFF) - HUMAN_MAXHEALTH)
|
||||
|
||||
var/obj/item/bodypart/arm/left/left_arm = human_holder.get_bodypart(BODY_ZONE_L_ARM)
|
||||
if(left_arm)
|
||||
|
||||
Reference in New Issue
Block a user