New mech drowning algorithm

This commit is contained in:
Anuken
2021-08-22 15:41:03 -04:00
parent 4e12289eaa
commit 502816d210
3 changed files with 19 additions and 4 deletions

View File

@@ -170,6 +170,7 @@ public class UnitTypes implements ContentList{
mechStepParticles = true;
mechStepShake = 0.15f;
singleTarget = true;
drownTimeMultiplier = 4f;
weapons.add(
new Weapon("scepter-weapon"){{
@@ -227,7 +228,7 @@ public class UnitTypes implements ContentList{
armor = 14f;
mechStepParticles = true;
mechStepShake = 0.75f;
canDrown = false;
drownTimeMultiplier = 6f;
mechFrontSway = 1.9f;
mechSideSway = 0.6f;
ammoType = new ItemAmmoType(Items.thorium);