mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 23:24:00 +07:00
Scaled logic explosions
This commit is contained in:
parent
fc5b50822e
commit
a91729aa27
@ -1702,7 +1702,7 @@ public class LExecutor{
|
||||
public static void logicExplosion(Team team, float x, float y, float radius, float damage, boolean air, boolean ground, boolean pierce, boolean effect){
|
||||
if(damage < 0f) return;
|
||||
|
||||
Damage.damage(team, x, y, radius, damage, pierce, air, ground);
|
||||
Damage.damage(team, x, y, radius, damage, pierce, air, ground, true, null);
|
||||
if(effect){
|
||||
if(pierce){
|
||||
Fx.spawnShockwave.at(x, y, World.conv(radius));
|
||||
|
Loading…
Reference in New Issue
Block a user