Exemple #1
0
 public void start(MapleCharacter c, int npc) {
   if ((autoStart || checkNPCOnMap(c, npc)) && canStart(c, npc)) {
     for (MapleQuestAction a : startActs) {
       a.run(c, null);
     }
     forceStart(c, npc);
   }
 }
Exemple #2
0
 public void complete(MapleCharacter c, int npc, Integer selection) {
   if ((autoPreComplete || checkNPCOnMap(c, npc)) && canComplete(c, npc)) {
     /*for (MapleQuestAction a : completeActs) {
         if (!a.check(c)) {
             return;
         }
     } */
     forceComplete(c, npc);
     for (MapleQuestAction a : completeActs) {
       a.run(c, selection);
     }
   }
 }