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 // mambojambo works better than ur dancing skills
@Override @Override
public boolean apply(Pet pet, Habbo habbo, String[] data) { public boolean apply(Pet pet, Habbo habbo, String[] data) {
if (pet.getHappyness() < 50) { if (pet.getHappyness() > 55) {
pet.say(pet.getPetData().randomVocal(PetVocalsType.DISOBEY)); pet.say(pet.getPetData().randomVocal(PetVocalsType.PLAYFUL));
return false;
} else { } else {
pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL)); pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL));
} }