Commit to "tameness" name over "closeness" for pets, fix scripts

This commit is contained in:
P0nk
2022-09-15 17:12:21 +02:00
parent 125d0aa03d
commit 1a28fc98ac
11 changed files with 18 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ public final class PetCommandHandler extends AbstractPacketHandler {
}
if (Randomizer.nextInt(100) < petCommand.getProbability()) {
pet.gainClosenessFullness(chr, petCommand.getIncrease(), 0, command);
pet.gainTamenessFullness(chr, petCommand.getIncrease(), 0, command);
chr.getMap().broadcastMessage(PacketCreator.commandResponse(chr.getId(), petIndex, false, command, false));
} else {
chr.getMap().broadcastMessage(PacketCreator.commandResponse(chr.getId(), petIndex, true, command, false));