Merge branch 'master' of https://github.com/ronancpl/HeavenMS into credits_update
This commit is contained in:
@@ -40,10 +40,10 @@ function action(mode, type, selection) {
|
||||
|
||||
if(status == 0) {
|
||||
if(cm.isQuestStarted(3345)) {
|
||||
var progress = cm.getQuestProgress(3345, 0);
|
||||
var progress = cm.getQuestProgressInt(3345);
|
||||
|
||||
if(progress == 3 && cm.haveItem(4031739, 1) && cm.haveItem(4031740, 1) && cm.haveItem(4031741, 1)) {
|
||||
cm.setQuestProgress(3345, 0, 4);
|
||||
cm.setQuestProgress(3345, 4);
|
||||
cm.gainItem(4031739, -1);
|
||||
cm.gainItem(4031740, -1);
|
||||
cm.gainItem(4031741, -1);
|
||||
@@ -51,7 +51,7 @@ function action(mode, type, selection) {
|
||||
cm.sendOk("(As you place the shards a light shines over the circle, repelling whatever omens were brewing inside the artifact.)", 2);
|
||||
cm.dispose();
|
||||
} else if(progress < 4) {
|
||||
cm.setQuestProgress(3345, 0, 0);
|
||||
cm.setQuestProgress(3345, 0);
|
||||
cm.dispose();
|
||||
} else {
|
||||
cm.dispose();
|
||||
|
||||
Reference in New Issue
Block a user