From 5ac7f204e3178bff92b3c76f550a2bdf543cbc86 Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 13 Sep 2024 19:45:09 -0400 Subject: [PATCH] Added extra retusa weapon --- .../sprites/units/weapons/retusa-weapon.png | Bin 0 -> 301 bytes core/src/mindustry/content/UnitTypes.java | 19 +++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 core/assets-raw/sprites/units/weapons/retusa-weapon.png diff --git a/core/assets-raw/sprites/units/weapons/retusa-weapon.png b/core/assets-raw/sprites/units/weapons/retusa-weapon.png new file mode 100644 index 0000000000000000000000000000000000000000..183907169c2c36bdcbe89f80c57cf1050e49399a GIT binary patch literal 301 zcmeAS@N?(olHy`uVBq!ia0y~yU@!n-4mJh`hH$2z?FV0iB7 z;uw;sNSLR*p4hjM*<}vY1ddQH$cARy>UWfdqbx9T+%?=9!zPcVPxxMH_ z_e1;bf}U~aw_}YJTLk`}Ibod`INjI!zoB)-bPtKeH_y&mq<4{NOM|4&L%o8v^PC^1 zX}nZ!a_3+?EYypKUnn)kI;*{${;4e8E2O5l~8T$4Vc36Dcd6S z`T5nGZT)`Vy|!0w6Z7n=i>_;2+#}$`q1Yne#PN|?pOwXK9qa9%E({C|44$rjF6*2U FngA2LajXCU literal 0 HcmV?d00001 diff --git a/core/src/mindustry/content/UnitTypes.java b/core/src/mindustry/content/UnitTypes.java index 20993b2d37..4c7e9def50 100644 --- a/core/src/mindustry/content/UnitTypes.java +++ b/core/src/mindustry/content/UnitTypes.java @@ -1862,6 +1862,23 @@ public class UnitTypes{ }}; }}); + weapons.add(new Weapon("retusa-weapon"){{ + shootSound = Sounds.lasershoot; + reload = 22f; + x = 4.5f; + y = -3.5f; + rotateSpeed = 5f; + mirror = true; + rotate = true; + bullet = new LaserBoltBulletType(5.2f, 10){{ + lifetime = 30f; + healPercent = 5.5f; + collidesTeam = true; + backColor = Pal.heal; + frontColor = Color.white; + }}; + }}); + weapons.add(new Weapon(){{ mirror = false; rotate = true; @@ -1913,7 +1930,7 @@ public class UnitTypes{ trailWidth = 3f; trailLength = 8; - splashDamage = 36f; + splashDamage = 40f; splashDamageRadius = 32f; }}; }});