mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Refactor
This commit is contained in:
parent
944115d12c
commit
ef84be59d0
@ -535,7 +535,7 @@ public class Pet implements ISerialize, Runnable {
|
|||||||
this.level++;
|
this.level++;
|
||||||
this.say(this.petData.randomVocal(PetVocalsType.LEVEL_UP));
|
this.say(this.petData.randomVocal(PetVocalsType.LEVEL_UP));
|
||||||
this.addHappyness(100);
|
this.addHappyness(100);
|
||||||
this.roomUnit.setStatus(RoomUnitStatus.GESTURE, "exp");
|
this.roomUnit.setStatus(RoomUnitStatus.GESTURE, PetGestures.LVLUP.getKey());
|
||||||
this.gestureTickTimeout = Emulator.getIntUnixTimestamp();
|
this.gestureTickTimeout = Emulator.getIntUnixTimestamp();
|
||||||
AchievementManager.progressAchievement(Emulator.getGameEnvironment().getHabboManager().getHabbo(this.userId), Emulator.getGameEnvironment().getAchievementManager().getAchievement("PetLevelUp"));
|
AchievementManager.progressAchievement(Emulator.getGameEnvironment().getHabboManager().getHabbo(this.userId), Emulator.getGameEnvironment().getAchievementManager().getAchievement("PetLevelUp"));
|
||||||
this.room.sendComposer(new PetLevelUpdatedComposer(this).compose());
|
this.room.sendComposer(new PetLevelUpdatedComposer(this).compose());
|
||||||
|
Loading…
Reference in New Issue
Block a user