mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Restores KA damage against mineral turfs in atmosphere (#17279)
Makes damage against mineral turfs return the damage of the kinetic accelerator since currently it uses a flat value of 5 in atmosphere.
This commit is contained in:
@@ -40,6 +40,6 @@
|
||||
/obj/item/projectile/kinetic/proc/strike_thing(var/turf/target_turf)
|
||||
for(var/new_target in RANGE_TURFS(aoe, target_turf))
|
||||
var/turf/aoe_turf = new_target
|
||||
do_damage(aoe_turf, max(base_damage - base_damage * get_dist(aoe_turf, target_turf) * 0.25, 0), base_damage)
|
||||
do_damage(aoe_turf, max(base_damage - base_damage * get_dist(aoe_turf, target_turf) * 0.25, 0), damage)
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user