Update ActionBreatheFire.java

This commit is contained in:
Oliver 2022-05-02 23:28:54 +00:00
parent 322d8251cc
commit e681e04f3d

View File

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