Skip to content

Commit

Permalink
Makes drone castes be able to destroy special resin buildings faster
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicacrov committed Feb 14, 2024
1 parent 46c1ba7 commit e78ca20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion code/modules/cm_aliens/XenoStructures.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@
else
playsound(loc, "alien_resin_break", 25)

health -= (M.melee_damage_upper + 50) //Beef up the damage a bit
var/damage_to_structure = M.melee_damage_upper + XENO_DAMAGE_TIER_7
// Builders can destroy beefy things in maximum 5 hits
if(isxeno_builder(M))
health -= max(initial(health) * 0.2, damage_to_structure)
else
health -= damage_to_structure
healthcheck()
return XENO_ATTACK_ACTION

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/xenomorph/hive_status.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
var/egg_planting_range = 15
var/slashing_allowed = XENO_SLASH_ALLOWED //This initial var allows the queen to turn on or off slashing. Slashing off means harm intent does much less damage.
var/construction_allowed = NORMAL_XENO //Who can place construction nodes for special structures
var/destruction_allowed = XENO_LEADER //Who can destroy special structures
var/destruction_allowed = NORMAL_XENO //Who can destroy special structures
var/unnesting_allowed = TRUE
var/hive_orders = "" //What orders should the hive have
var/color = null
Expand Down

0 comments on commit e78ca20

Please sign in to comment.