mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 18:12:40 +00:00
KA Leftovers Fix (#10165)
KAs no longer leave behind phantom projectiles that injure people.
KAs no longer recursively destroy rocks when one breaks, but still retain AoE effects.
KAs now have at least one tile of AoE on all modules.
Also fixes a runtime with pin attackby.
This commit is contained in:
@@ -247,7 +247,7 @@
|
||||
var/obj/item/projectile/kinetic/shot_projectile = new installed_barrel.projectile_type(get_turf(src))
|
||||
shot_projectile.damage = damage_increase
|
||||
shot_projectile.range = range_increase
|
||||
shot_projectile.aoe = aoe_increase
|
||||
shot_projectile.aoe = max(1, aoe_increase)
|
||||
shot_projectile.base_damage = damage_increase
|
||||
return shot_projectile
|
||||
if(ispath(installed_barrel.projectile_type, /obj/item/projectile/beam))
|
||||
@@ -374,7 +374,7 @@
|
||||
firedelay_increase = max(firedelay_increase,0.125 SECONDS)
|
||||
|
||||
aoe_increase += round(damage_increase/30)
|
||||
aoe_increase = max(0,aoe_increase)
|
||||
aoe_increase = max(1, aoe_increase)
|
||||
|
||||
//Gun stats
|
||||
recoil = recoil_increase*0.25
|
||||
|
||||
Reference in New Issue
Block a user