Skip to content

Commit

Permalink
Xeno walance (#99)
Browse files Browse the repository at this point in the history
* walance_1

* Sunder multiplier (#15144)

Co-authored-by: TiviPlus <[email protected]>

* sunder_multiplier

* idiot

---------

Co-authored-by: Barnet <[email protected]>
Co-authored-by: TiviPlus <[email protected]>
  • Loading branch information
3 people authored Aug 22, 2024
1 parent 7979b15 commit 2a61268
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
// *** Health *** //
max_health = 325

// *** Sunder *** //
sunder_multiplier = 0.8

// *** Evolution *** //
evolution_threshold = 225

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// *** Speed *** //
speed = -0.1

// *** Sunder *** //
sunder_recover = 2

// *** Plasma *** //
plasma_max = 400
plasma_gain = 30
Expand All @@ -34,7 +31,10 @@
caste_traits = list(TRAIT_STOPS_TANK_COLLISION)

// *** Defense *** //
soft_armor = list(MELEE = 90, BULLET = 75, LASER = 75, ENERGY = 75, BOMB = 130, BIO = 100, FIRE = 40, ACID = 100)
soft_armor = list(MELEE = 90, BULLET = 80, LASER = 80, ENERGY = 75, BOMB = 130, BIO = 100, FIRE = 40, ACID = 100)

// *** Sunder *** //
sunder_multiplier = 0.5

// *** Minimap Icon *** //
minimap_icon = "crusher"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
caste_traits = null

// *** Defense *** //
soft_armor = list(MELEE = 40, BULLET = 40, LASER = 40, ENERGY = 40, BOMB = 20, BIO = 30, FIRE = 40, ACID = 30)
soft_armor = list(MELEE = 40, BULLET = 45, LASER = 45, ENERGY = 40, BOMB = 20, BIO = 30, FIRE = 40, ACID = 30)

// *** Minimap Icon *** //
minimap_icon = "defender"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
// *** Health *** //
max_health = 400

// *** Sunder *** //
sunder_multiplier = 0.8

// *** Evolution *** //
deevolves_to = /mob/living/carbon/xenomorph/carrier

Expand All @@ -33,7 +36,7 @@
caste_traits = list(TRAIT_CAN_VENTCRAWL)

// *** Defense *** //
soft_armor = list(MELEE = 55, BULLET = 55, LASER = 55, ENERGY = 55, BOMB = 30, BIO = 40, FIRE = 50, ACID = 40)
soft_armor = list(MELEE = 55, BULLET = 60, LASER = 60, ENERGY = 55, BOMB = 30, BIO = 40, FIRE = 50, ACID = 40)
// *** Minimap Icon *** //
minimap_icon = "defiler"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
caste_traits = list(TRAIT_CAN_VENTCRAWL)

// *** Defense *** //
soft_armor = list(MELEE = 30, BULLET = 30, LASER = 30, ENERGY = 30, BOMB = 0, BIO = 15, FIRE = 30, ACID = 15)
soft_armor = list(MELEE = 30, BULLET = 25, LASER = 25, ENERGY = 30, BOMB = 0, BIO = 15, FIRE = 30, ACID = 15)

// *** Pheromones *** //
aura_strength = 2 //Drone's aura is the weakest.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

// *** Health *** //
max_health = 650
sunder_recover = 2

// *** Sunder *** //
sunder_multiplier = 0.7

// *** Evolution *** //
maximum_active_caste = 1
Expand All @@ -34,7 +36,7 @@
caste_traits = null

// *** Defense *** //
soft_armor = list(MELEE = 65, BULLET = 65, LASER = 65, ENERGY = 65, BOMB = 100, BIO = 60, FIRE = 100, ACID = 60)
soft_armor = list(MELEE = 65, BULLET = 70, LASER = 70, ENERGY = 65, BOMB = 100, BIO = 60, FIRE = 100, ACID = 60)

// *** Pheromones *** //
aura_strength = 6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
caste_traits = list(TRAIT_CAN_VENTCRAWL)

// *** Defense *** //
soft_armor = list(MELEE = 20, BULLET = 19, LASER = 19, ENERGY = 19, BOMB = 0, BIO = 7, FIRE = 19, ACID = 7)
soft_armor = list(MELEE = 20, BULLET = 15, LASER = 15, ENERGY = 15, BOMB = 0, BIO = 7, FIRE = 15, ACID = 5)

// *** Minimap Icon *** //
minimap_icon = "panther"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
// *** Health *** //
max_health = 600

sunder_recover = 1.5
// *** Sunder *** //
sunder_multiplier = 0.7

// *** Evolution *** //
evolve_min_xenos = 8
Expand All @@ -37,7 +38,7 @@
caste_traits = null

// *** Defense *** //
soft_armor = list(MELEE = 65, BULLET = 65, LASER = 65, ENERGY = 65, BOMB = 80, BIO = 60, FIRE = 60, ACID = 60)
soft_armor = list(MELEE = 65, BULLET = 70, LASER = 70, ENERGY = 65, BOMB = 80, BIO = 60, FIRE = 60, ACID = 60)

// *** Ranged Attack *** //
spit_delay = 1.1 SECONDS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
caste_traits = list(TRAIT_CAN_VENTCRAWL)

// *** Defense *** //
soft_armor = list(MELEE = 20, BULLET = 20, LASER = 20, ENERGY = 20, BOMB = 0, BIO = 5, FIRE = 19, ACID = 5)
soft_armor = list(MELEE = 20, BULLET = 15, LASER = 15, ENERGY = 15, BOMB = 0, BIO = 5, FIRE = 15, ACID = 5)

// *** Minimap Icon *** //
minimap_icon = "runner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
caste_traits = list(TRAIT_CAN_VENTCRAWL)

// *** Defense *** //
soft_armor = list(MELEE = 25, BULLET = 25, LASER = 25, ENERGY = 25, BOMB = 0, BIO = 25, FIRE = 26, ACID = 25)
soft_armor = list(MELEE = 25, BULLET = 20, LASER = 20, ENERGY = 25, BOMB = 0, BIO = 25, FIRE = 25, ACID = 25)

// *** Ranged Attack *** //
spit_delay = 1.0 SECONDS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
caste_traits = null

// *** Defense *** //
soft_armor = list(MELEE = 45, BULLET = 45, LASER = 45, ENERGY = 45, BOMB = 20, BIO = 25, FIRE = 45, ACID = 20)
soft_armor = list(MELEE = 45, BULLET = 50, LASER = 50, ENERGY = 45, BOMB = 20, BIO = 25, FIRE = 45, ACID = 20)

// *** Pheromones *** //
aura_strength = 4.5 //The Shrike's aura is decent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
// *** Health *** //
max_health = 350

// *** Sunder *** //
sunder_multiplier = 0.8

// *** Evolution *** //
evolution_threshold = 225

Expand All @@ -33,7 +36,7 @@
caste_traits = null

// *** Defense *** //
soft_armor = list(MELEE = 40, BULLET = 55, LASER = 55, ENERGY = 40, BOMB = 20, BIO = 50, FIRE = 55, ACID = 50)
soft_armor = list(MELEE = 40, BULLET = 60, LASER = 60, ENERGY = 40, BOMB = 20, BIO = 50, FIRE = 55, ACID = 50)

// *** Minimap Icon *** //
minimap_icon = "warrior"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/xenomorph/life.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define DEBUG_XENO_LIFE 0
#define XENO_RESTING_HEAL 1.1
#define XENO_RESTING_HEAL 1
#define XENO_STANDING_HEAL 0.2
#define XENO_CRIT_DAMAGE 5

Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/xeno_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
var/sunder_recover = 0.5
///What is the max amount of sunder that can be applied to a xeno (100 = 100%)
var/sunder_max = 100
///Multiplier on the weapons sunder, e.g 10 sunder on a projectile is reduced to 5 with a 0.5 multiplier.
var/sunder_multiplier = 1

// *** Ranged Attack *** //
///Delay timer for spitting
Expand Down
3 changes: 2 additions & 1 deletion code/modules/mob/living/carbon/xenomorph/xenoprocs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@
. = ..()
if(.)
return
sunder = clamp(sunder + adjustment, 0, xeno_caste.sunder_max)
sunder = clamp(sunder + (adjustment > 0 ? adjustment * xeno_caste.sunder_multiplier : adjustment), 0, xeno_caste.sunder_max)
//Applying sunder is an adjustment value above 0, healing sunder is an adjustment value below 0. Use multiplier when taking sunder, not when healing.

/mob/living/carbon/xenomorph/set_sunder(new_sunder)
. = ..()
Expand Down

0 comments on commit 2a61268

Please sign in to comment.