More Masteria quests + several minor fixes
Added more quests on Masteria and updated drop data in the region. Fixed mystic door on slopes deploying players unproperly. Fixed mounts equipped by low level players crashing the client.
This commit is contained in:
@@ -846,7 +846,7 @@ public class MapleStatEffect {
|
||||
Point doorPosition = new Point(applyto.getPosition().x, y);
|
||||
MapleDoor door = new MapleDoor(applyto, doorPosition);
|
||||
|
||||
if(door.getOwnerId() != -1) {
|
||||
if(door.getOwnerId() > -1) {
|
||||
if (applyto.getParty() != null) {
|
||||
for (MaplePartyCharacter partyMember : applyto.getParty().getMembers()) {
|
||||
partyMember.getPlayer().addDoor(door.getOwnerId(), door);
|
||||
@@ -860,7 +860,9 @@ public class MapleStatEffect {
|
||||
door.getTarget().spawnDoor(door.getAreaDoor());
|
||||
door.getTown().spawnDoor(door.getTownDoor());
|
||||
} else {
|
||||
applyto.dropMessage(5, "There are no door portals available for the town at this moment. Try again later.");
|
||||
if(door.getOwnerId() == -1) applyto.dropMessage(5, "There are no door portals available for the town at this moment. Try again later.");
|
||||
else applyto.dropMessage(5, "This position is not suitable for a Mystic Door, try elsewhere.");
|
||||
|
||||
applyto.cancelBuffStats(MapleBuffStat.SOULARROW); // cancel door buff
|
||||
}
|
||||
applyto.disableDoor();
|
||||
|
||||
Reference in New Issue
Block a user