Skip to content

Commit

Permalink
shockwave PKA's no longer stack all their blasts on one tile if you c…
Browse files Browse the repository at this point in the history
…lick on on a tile next to you (#2538)

## About The Pull Request
Fixes a bad exploit

## Why It's Good For The Game
8-9 PKA blasts in one tile is pretty horrifying in terms of damage

## Proof Of Testing
Tested ingame, couldn't reproduce the exploit

<details>
<summary>Screenshots/Videos</summary>

</details>

## Changelog

:cl:
fix: the shockwave KPA can no longer be shot in a way that lets you
stack all of it's shots in one tile
/:cl:
  • Loading branch information
Arturlang authored Nov 24, 2024
1 parent 9e91ab5 commit 111bdd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modular_zubbers/code/game/objects/items/more_pkas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@
weapon_weight = WEAPON_LIGHT
max_mod_capacity = 75

/obj/item/gun/energy/recharge/kinetic_accelerator/shockwave/process_fire(atom/target, mob/living/user, message = TRUE, params = null, zone_override = "", bonus_spread = 0)
target = get_edge_target_turf(user, user.dir)
return ..()

/obj/item/gun/energy/recharge/kinetic_accelerator/m79
name = "proto-kinetic grenade launcher"
desc = "Made in a drunk frenzy during the creation of the kinetic railgun, the kinetic grenade launcher fires the same bombs used by \
Expand Down

0 comments on commit 111bdd3

Please sign in to comment.