HP is now drained while holding sliders. (fixes #103)

Slider ticks now give HP, and the HP for SLIDER30 results is doubled.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2015-08-20 21:24:58 -05:00
parent 441bb95a09
commit ae149a61f6
2 changed files with 2 additions and 2 deletions

View File

@ -1188,7 +1188,7 @@ public class GameData {
switch (result) {
case HIT_SLIDER30:
hitValue = 30;
changeHealth(1f);
changeHealth(2f);
SoundController.playHitSound(
hitObject.getEdgeHitSoundType(repeat),
hitObject.getSampleSet(repeat),
@ -1196,6 +1196,7 @@ public class GameData {
break;
case HIT_SLIDER10:
hitValue = 10;
changeHealth(1f);
SoundController.playHitSound(HitSound.SLIDERTICK);
break;
case HIT_MISS:

View File

@ -485,7 +485,6 @@ public class Slider implements GameObject {
if (((keyPressed || GameMod.RELAX.isActive()) && distance < followRadius) || isAutoMod) {
// mouse pressed and within follow circle
followCircleActive = true;
data.changeHealth(delta * GameData.HP_DRAIN_MULTIPLIER);
// held during new repeat
if (isNewRepeat) {