Tweaks Degen Aura and Overload

This commit is contained in:
Anewbe
2016-08-01 00:54:40 -05:00
parent a901482f8a
commit 519331aa37
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@
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)
armor_factor = round(armor_factor / 100)
armor_factor = armor_factor / 100
damage_to_inflict = damage_to_inflict * armor_factor

View File

@@ -22,6 +22,7 @@
icon_state = "bluespace"
// nodamage = 1
damage_type = BURN
check_armour = null
/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)