Changed the Quick Feet upgrade and the speed boost sigil so that their speeds are applied when strafing and walking backwards as well.

Added the Disoriented Downgrade. Muahaha
This commit is contained in:
WayofTime 2016-09-29 16:37:41 -04:00
parent 1a510c694c
commit 006cbeaa83
4 changed files with 74 additions and 2 deletions

View file

@ -196,9 +196,9 @@ public class LivingArmourHandler
}
}
if (percentIncrease > 0 && (player.onGround || player.capabilities.isFlying) && player.moveForward > 0F)
if (percentIncrease > 0 && (player.onGround || player.capabilities.isFlying) && (Math.abs(player.moveForward) > 0 || Math.abs(player.moveStrafing) > 0))
{
player.moveRelative(0F, 1F, player.capabilities.isFlying ? (percentIncrease / 2.0f) : percentIncrease);
player.moveRelative(player.moveStrafing, player.moveForward, player.capabilities.isFlying ? (percentIncrease / 2.0f) : percentIncrease);
}
}
}