Update ActionFollow.java

This commit is contained in:
Oliver 2022-05-02 23:32:36 +00:00
parent f8365d7753
commit 57b7fbe2e0

View File

@ -20,10 +20,11 @@ public class ActionFollow extends PetAction {
pet.setTask(PetTasks.FOLLOW); pet.setTask(PetTasks.FOLLOW);
Emulator.getThreading().run(new PetFollowHabbo(pet, habbo, 0)); Emulator.getThreading().run(new PetFollowHabbo(pet, habbo, 0));
if (pet.getHappyness() > 75) if (pet.getHappyness() > 65) {
pet.say(pet.getPetData().randomVocal(PetVocalsType.PLAYFUL)); pet.say(pet.getPetData().randomVocal(PetVocalsType.PLAYFUL));
else } else {
pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL)); pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL));
}
return true; return true;
} }