mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
[Mage Training Arena] Enchanting, and some other stuff (#507)
* Handle some more stairs... * Remove message sent to player * Bolts/Tips making * Tidy up * Free alchs occasionally within training arena * [Mage Training Arena] Enchanting * Remove enchanting room specific items when leaving area
This commit is contained in:
@@ -822,6 +822,8 @@ public abstract class Player {
|
||||
getPacketSender().showOption(3, 0, "Attack", 1);
|
||||
} else if (Boundary.isIn(this, Boundary.MAGE_TRAINING_ARENA_ALCHEMY)) {
|
||||
getPacketSender().walkableInterface(15892);
|
||||
} else if (Boundary.isIn(this, Boundary.MAGE_TRAINING_ARENA_ENCHANTING)) {
|
||||
getPacketSender().walkableInterface(15917);
|
||||
} else {
|
||||
getPacketSender().sendMapState(0);
|
||||
if (!isSnowy) {
|
||||
@@ -2157,6 +2159,10 @@ public abstract class Player {
|
||||
// remove any alchemy training items
|
||||
getMageTrainingArena().alchemy.clearItems();
|
||||
}
|
||||
if (Boundary.isIn(this, Boundary.MAGE_TRAINING_ARENA_ENCHANTING) && !Boundary.isIn(teleportToX, teleportToY, teleHeight, Boundary.MAGE_TRAINING_ARENA_ENCHANTING)) {
|
||||
// remove any alchemy training items
|
||||
getMageTrainingArena().enchanting.clearItems();
|
||||
}
|
||||
currentX = teleportToX - 8 * mapRegionX;
|
||||
currentY = teleportToY - 8 * mapRegionY;
|
||||
absX = teleportToX;
|
||||
|
||||
Reference in New Issue
Block a user