MTA fixes:
- It is now possible to talk to the telekinetic guardian through the maze wall. - Asking for the price of an MTA reward no longer attempts to purchase said reward. - Graveyard bones now give the correct amount of bananas/peaches. - Number of telekinetic mazes solved now persist when exiting.
This commit is contained in:
@@ -241,9 +241,9 @@ public class MTAShop {
|
||||
if (item == null) {
|
||||
return true;
|
||||
}
|
||||
if (opcode == 230) {
|
||||
if (opcode == 155) {
|
||||
value(player, item, slot);
|
||||
} else {
|
||||
} else if (opcode == 196) {
|
||||
buy(player, item, slot);
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -122,11 +122,6 @@ public class TelekineticZone extends MTAZone {
|
||||
if (player == null || player != this.player) {
|
||||
return super.leave(entity, logout);
|
||||
}
|
||||
if (logout) {
|
||||
player.getSavedData().getActivityData().setSolvedMazes(solved);
|
||||
} else {
|
||||
player.getSavedData().getActivityData().setSolvedMazes(0);
|
||||
}
|
||||
if (statue != null) {
|
||||
GroundItemManager.destroy(statue);
|
||||
}
|
||||
@@ -277,6 +272,7 @@ public class TelekineticZone extends MTAZone {
|
||||
}
|
||||
});
|
||||
}
|
||||
player.getSavedData().getActivityData().setSolvedMazes(solved);
|
||||
incrementPoints(player, MTAType.TELEKINETIC.ordinal(), points);
|
||||
TelekineticZone.this.update(player);
|
||||
player.setAttribute("camera", false);
|
||||
|
||||
Reference in New Issue
Block a user