From 322d8251ccf0169b274dfc3d6a0a102eeb755d2c Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 2 May 2022 23:28:21 +0000 Subject: [PATCH] Update ActionBounce.java --- .../habbo/habbohotel/pets/actions/ActionBounce.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionBounce.java b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionBounce.java index 6b042a8f..ad32e6f0 100644 --- a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionBounce.java +++ b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionBounce.java @@ -19,14 +19,13 @@ public class ActionBounce extends PetAction { // bouncy bounce @Override public boolean apply(Pet pet, Habbo habbo, String[] data) { - - if (pet.getHappyness() > 50) { - Emulator.getThreading().run(new PetClearPosture(pet, RoomUnitStatus.BOUNCE, null, false), this.minimumActionDuration); - pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL)); - return true; + Emulator.getThreading().run(new PetClearPosture(pet, RoomUnitStatus.BOUNCE, null, false), this.minimumActionDuration); + if (pet.getHappyness() > 80) { + pet.say(pet.getPetData().randomVocal(PetVocalsType.PLAYFUL)); } else { - pet.say(pet.getPetData().randomVocal(PetVocalsType.DISOBEY)); - return false; + pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL)); } + + return true; } }