Hired Merchant & Player shop fixes + Owl of Minerva
Thanks to BenjixD DietStory's dev team, many bugs found by them have been patched (pirate quests, missing drop data, fly command, etc). Implemented Owl of Minerva. Fixed many issues with Hired Merchant and Player Shops. Fixed an error with the slot checking system. Added Wish Tickets (circa-2006 GMS event) to be dropped on AmoriaPQ.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
function enter(pi) {
|
||||
if (pi.isQuestActive(2324)) {
|
||||
var player = pi.getPlayer();
|
||||
player.gainExp(3300 * player.getExpRate());
|
||||
|
||||
pi.forceCompleteQuest(2324);
|
||||
pi.removeAll(2430015);
|
||||
pi.playerMessage(5, "Quest complete.");
|
||||
|
||||
18
scripts/portal/obstacle.js
Normal file
18
scripts/portal/obstacle.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Kevin
|
||||
Map: Mushroom Castle - Deep Inside Mushroom Forest (106020300)
|
||||
Right Portal
|
||||
*/
|
||||
|
||||
function enter(pi){
|
||||
if (pi.isQuestCompleted(2316)){
|
||||
if (pi.hasItem(2430014)){
|
||||
pi.gainItem(2430014, -1 * pi.getPlayer().getItemQuantity(2430014, false));
|
||||
}
|
||||
|
||||
pi.warp(106020400, 2);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user