AirSwipe is affected by AvatarState

This commit is contained in:
MistPhizzle 2014-08-15 23:18:57 -04:00
parent cd00f41234
commit 2ff4fa93e4

View file

@ -150,6 +150,8 @@ public class AirSwipe {
double factor = 1;
if (System.currentTimeMillis() >= time + maxchargetime) {
factor = maxfactor;
} else if (AvatarState.isAvatarState(player)) {
factor = AvatarState.getValue(factor);
} else {
factor = maxfactor
* (double) (System.currentTimeMillis() - time)