mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-12-03 11:16:26 +01:00
Update ActionWings.java
This commit is contained in:
parent
7b11aa6a2b
commit
f6853b240d
@ -19,8 +19,11 @@ public class ActionWings extends PetAction {
|
||||
public boolean apply(Pet pet, Habbo habbo, String[] data) {
|
||||
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));
|
||||
} else {
|
||||
pet.say(pet.getPetData().randomVocal(PetVocalsType.GENERIC_NEUTRAL));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user