Merge branch 'master' of https://github.com/ronancpl/HeavenMS into credits_update

This commit is contained in:
ronancpl
2019-11-14 22:35:43 -03:00
864 changed files with 20650 additions and 11188 deletions

View File

@@ -111,9 +111,9 @@ function action(mode, type, selection) {
cm.dispose();
}
} else if (selection == 2){
if (cm.haveItem(1032061) && !cm.haveItem(1032101) && cm.haveItem(4001198, 10)) {
if (cm.haveItem(1032061) && !cm.haveItem(1032072) && cm.haveItem(4001198, 10)) {
cm.gainItem(1032061,-1);
cm.gainItem(1032101, 1);
cm.gainItem(1032072, 1); // thanks yuxaij for noticing unexpected itemid here
cm.gainItem(4001198, -10);
cm.dispose();
} else {