Update ActionWagTail.java

This commit is contained in:
Oliver 2022-05-02 23:35:32 +00:00
parent 1014004cda
commit b2e50ce1ab

View File

@ -22,8 +22,13 @@ public class ActionWagTail extends PetAction {
public boolean apply(Pet pet, Habbo habbo, String[] data) {
pet.clearPosture();
Emulator.getThreading().run(new PetClearPosture(pet, RoomUnitStatus.WAG_TAIL, null, false), this.minimumActionDuration);
pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL));
return true;
if (pet.getHappyness() > 50) {
pet.say(pet.getPetData().randomVocal(PetVocalsType.PLAYFUL));
} else {
pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL));
}
return true;
}
}