Logic explosion statement

This commit is contained in:
Anuken
2022-02-13 19:59:57 -05:00
parent f85aaed323
commit f9f12843d2
4 changed files with 45 additions and 16 deletions

View File

@@ -1234,7 +1234,7 @@ public class LExecutor{
public static class SpawnUnitI implements LInstruction{
public int type, x, y, rotation, team, result;
public SpawnUnitI(int type, int x, int y, int rotation, int team, boolean effect, int result){
public SpawnUnitI(int type, int x, int y, int rotation, int team, int result){
this.type = type;
this.x = x;
this.y = y;
@@ -1356,7 +1356,6 @@ public class LExecutor{
@Remote(called = Loc.server, unreliable = true)
public static void logicExplosion(Team team, float x, float y, float radius, float damage, boolean air, boolean ground, boolean pierce){
Damage.damage(team, x, y, radius, damage, pierce, air, ground);
if(pierce){
Fx.spawnShockwave.at(x, y, World.conv(radius));