Nihal quests + Reactor's mapitem detection + MapleQuestMesoFetcher
Improved quests and game progression in the Nihal Desert region. Reactors that uses map items now automatically detects those already on the ground after changing states. New tool: MapleQuestMesoFetcher. This tool parses the Quest.wz XML files, detecting and reporting quest ids from quests that does not properly checks for mesos to take from the player before completing the quest.
This commit is contained in:
@@ -3292,24 +3292,19 @@ public class MapleCharacter extends AbstractAnimatedMapleMapObject {
|
||||
} finally {
|
||||
chrLock.unlock();
|
||||
}
|
||||
} else if (effect.isDojoBuff() || effect.getSourceId() == 2022337) {
|
||||
boolean isRecoveryBuff = false;
|
||||
} else if (effect.getHpRRate() > 0 || effect.getMpRRate() > 0) {
|
||||
if(effect.getHpRRate() > 0) {
|
||||
extraHpRec = effect.getHpR();
|
||||
extraRecInterval = effect.getHpRRate();
|
||||
isRecoveryBuff = true;
|
||||
}
|
||||
|
||||
if(effect.getMpRRate() > 0) {
|
||||
extraMpRec = effect.getMpR();
|
||||
extraRecInterval = effect.getMpRRate();
|
||||
isRecoveryBuff = true;
|
||||
}
|
||||
|
||||
if(isRecoveryBuff) {
|
||||
stopExtraTask();
|
||||
startExtraTask(extraHpRec, extraMpRec, extraRecInterval); // HP & MP sharing the same task holder
|
||||
}
|
||||
stopExtraTask();
|
||||
startExtraTask(extraHpRec, extraMpRec, extraRecInterval); // HP & MP sharing the same task holder
|
||||
} else if (effect.isMapChair()) {
|
||||
startChairTask();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user