mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 09:50:51 +01:00
Update ActionFollow.java
This commit is contained in:
parent
f8365d7753
commit
57b7fbe2e0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user