Player/NPC Shop patch + Fredrick/Duey patch + Loot w. time GMS-like
Reading approximated unitPrice value from WZ in such a fashion that the new double value can be represented in float point without losing too much data. Fixed rechargeables with quantity 0 set on the playershop/hiredmerchant being handed back to the owner with quantity 1. Solved many concurrecy issues related with items on the field and playershop/hiredmerchant. Fixed anomalies with waiting time before picking up other players items, now acting GMS-like. Added/patched copyleft claims in files that are from my own authorship. Please see backtrack_licenses/readme.txt for more info about this move. Fixed issues with item retrieval when using bundles on playershop/hiredmerchant. Fixed some exploits with playershop/hiredmerchant. Fixed a glitch with npcshop when trying to recharge/buy items without having enough mesos. Added portal sound effect for some scripted portals that still lacked it. Fixed some exploits with NPCs Fredrick and Duey. Fixed Body Pressure not displaying damage to other players. Added a flag that permits town scrolls to act like a "banish" for players. This renders the antibanish scroll effect available.
This commit is contained in:
@@ -31,24 +31,29 @@ function end(mode, type, selection) {
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
if (status == 0)
|
||||
if (status == 0) {
|
||||
qm.sendNext("Wait.. Isn't that.. Did you remember how to make Red Jade?\r\nWow... you may be stupid and prone to amnesia, but this is why I can't abandon you. Now give me the jade!"); //Giant Polearm
|
||||
else if (status == 1)
|
||||
} else if (status == 1) {
|
||||
qm.sendNextPrev("Okay, now that I have the Red Jade back on, let me work on reawakening more of your abilities. I mean, your level's gone much higher since the last time we met, so I am sure I can work my magic a bit more this time!");
|
||||
else if (status == 2) {
|
||||
if(!qm.isQuestCompleted(21302)) {
|
||||
if(!qm.canHold(1142131)) {
|
||||
cm.sendOk("Wow, your #bequip#k inventory is full. I need you to make at least 1 empty slot to complete this quest.");
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
qm.gainItem(1142131, true);
|
||||
qm.changeJobById(2111);
|
||||
|
||||
qm.completeQuest();
|
||||
}
|
||||
qm.sendNext("Come on, keep training so you can get all your abilities back, and that way we can explore together once more!");
|
||||
qm.dispose();
|
||||
}
|
||||
} else if (status == 2) {
|
||||
if(!qm.isQuestCompleted(21302)) {
|
||||
if(!qm.canHold(1142131)) {
|
||||
cm.sendOk("Wow, your #bequip#k inventory is full. I need you to make at least 1 empty slot to complete this quest.");
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
if(qm.haveItem(4032312, 1)) {
|
||||
qm.gainItem(4032312, -1);
|
||||
}
|
||||
|
||||
qm.gainItem(1142131, true);
|
||||
qm.changeJobById(2111);
|
||||
|
||||
qm.completeQuest();
|
||||
}
|
||||
|
||||
qm.sendNext("Come on, keep training so you can get all your abilities back, and that way we can explore together once more!");
|
||||
qm.dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user