mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Tweaks Degen Aura and Overload
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
var/damage_to_inflict = max(L.health / L.maxHealth, 0) // Otherwise, those in crit would actually be healed.
|
var/damage_to_inflict = max(L.health / L.maxHealth, 0) // Otherwise, those in crit would actually be healed.
|
||||||
|
|
||||||
var/armor_factor = abs(L.getarmor(null, "energy") - 100)
|
var/armor_factor = abs(L.getarmor(null, "energy") - 100)
|
||||||
armor_factor = round(armor_factor / 100)
|
armor_factor = armor_factor / 100
|
||||||
|
|
||||||
damage_to_inflict = damage_to_inflict * armor_factor
|
damage_to_inflict = damage_to_inflict * armor_factor
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
icon_state = "bluespace"
|
icon_state = "bluespace"
|
||||||
// nodamage = 1
|
// nodamage = 1
|
||||||
damage_type = BURN
|
damage_type = BURN
|
||||||
|
check_armour = null
|
||||||
|
|
||||||
/obj/item/weapon/spell/projectile/overload/on_ranged_cast(atom/hit_atom, mob/living/user)
|
/obj/item/weapon/spell/projectile/overload/on_ranged_cast(atom/hit_atom, mob/living/user)
|
||||||
energy_cost_per_shot = round(core.max_energy * 0.15)
|
energy_cost_per_shot = round(core.max_energy * 0.15)
|
||||||
|
|||||||
Reference in New Issue
Block a user