The great MCPQ Merge offensive
Fulfilled the lovely pull request #427 from @dragoso, which added in backing code content to HeavenMS. Implemented structural changes for the Marriage wishlist, in order to receive, maintain and distribute gifts to spouses. Added untradeable check on wishlist gift handler. Adjusted CPQ drops to actually load from DB rathe than hard-coded. Fixed CPQ "random disease to player/party" functionality not applying properly. Adjusted how CPQ maps are generated. It directly loads a new area from WZ (this process should at least removes the player's spawned mobs) rather than reset the cache at every MCPQ creation.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
importPackage(Packages.server.maps);
|
||||
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
@@ -6,5 +5,6 @@ importPackage(Packages.server.maps);
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000101, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
importPackage(Packages.server.maps);
|
||||
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
@@ -6,5 +5,6 @@ importPackage(Packages.server.maps);
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000201, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
importPackage(Packages.server.maps);
|
||||
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
@@ -15,5 +14,6 @@ function enter(pi) {
|
||||
break;
|
||||
}
|
||||
pi.warp(980000301, portal);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
importPackage(Packages.server.maps);
|
||||
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
@@ -15,5 +14,6 @@ function enter(pi) {
|
||||
break;
|
||||
}
|
||||
pi.warp(980000401, portal);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
importPackage(Packages.server.maps);
|
||||
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
@@ -6,5 +5,6 @@ importPackage(Packages.server.maps);
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000501, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
importPackage(Packages.server.maps);
|
||||
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
@@ -6,5 +5,6 @@ importPackage(Packages.server.maps);
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000601, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -19,11 +19,6 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
importPackage(Packages.server.maps);
|
||||
|
||||
/*
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
var returnMap = pi.getPlayer().getSavedLocation("MONSTER_CARNIVAL");
|
||||
if (returnMap < 0) {
|
||||
@@ -31,5 +26,6 @@ function enter(pi) {
|
||||
}
|
||||
var target = pi.getPlayer().getClient().getChannelServer().getMapFactory().getMap(returnMap);
|
||||
pi.getPlayer().changeMap(target);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user