Update ActionWings.java

This commit is contained in:
Oliver 2022-05-02 23:36:27 +00:00
parent 7b11aa6a2b
commit f6853b240d

View File

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