Update ActionDance.java

This commit is contained in:
Oliver 2022-05-02 23:30:22 +00:00
parent 55c3c49b46
commit 502ac555d3

View File

@ -19,9 +19,8 @@ public class ActionDance extends PetAction {
// mambojambo works better than ur dancing skills
@Override
public boolean apply(Pet pet, Habbo habbo, String[] data) {
if (pet.getHappyness() < 50) {
pet.say(pet.getPetData().randomVocal(PetVocalsType.DISOBEY));
return false;
if (pet.getHappyness() > 55) {
pet.say(pet.getPetData().randomVocal(PetVocalsType.PLAYFUL));
} else {
pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL));
}