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:
@@ -50,7 +50,6 @@ function action(mode, type, selection) {
|
||||
var eim = cm.getEventInstance();
|
||||
if(eim == null) {
|
||||
cm.warp(680000000,0);
|
||||
//cm.criarLista();
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
@@ -72,7 +71,9 @@ function action(mode, type, selection) {
|
||||
cm.sendOk("Congratulations on your wedding. Please talk to #b#p9201007##k to start the afterparty.");
|
||||
cm.dispose();
|
||||
} else if(hasEngagement) {
|
||||
cm.criarLista();
|
||||
if (!cm.createMarriageWishlist()) {
|
||||
cm.sendOk("You have already sent your wishlist...");
|
||||
}
|
||||
cm.dispose();
|
||||
} else {
|
||||
cm.sendOk("You do not have the required item to continue through this wedding. Unfortunately, it's over...");
|
||||
|
||||
Reference in New Issue
Block a user