Coupon buff fix + concurrency fixes

Fixed coupon buff icon not showing properly. Fixed some cases involving
coupons and buff removal not dealing properly with concurrent access.
This commit is contained in:
ronancpl
2017-06-19 17:44:01 -03:00
parent 42fe74955d
commit 7f6d420cf1
58 changed files with 345 additions and 220 deletions

View File

@@ -62,8 +62,11 @@ function action(mode, type, selection) {
cm.dispose();
}
} else if (status == 3) {
if (cm.haveItem(4031801))
if (cm.haveItem(4031801)) {
cm.gainItem(4031801, -1);
} else {
cm.gainMeso(-150);
}
cm.warp(104000000);
cm.dispose();
}

View File

@@ -25,7 +25,7 @@ function start() {
function action(mode, type, selection) {
if(mode == 1) {
cm.warp(990001100);
cm.warp(101030104);
}
cm.dispose();
}