Files
sweetgum-server/scripts/portal/obstacle.js
ronancpl ddbd679f88 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.
2017-09-29 18:35:42 -03:00

18 lines
342 B
JavaScript

/*
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;
}