mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-12 13:24:36 +01:00
Add action value counter to the new AS mode
This commit is contained in:
@@ -118,13 +118,17 @@ public class ChallengeInstance {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add story battle targets
|
// Add story battle targets
|
||||||
if (this.getExcel().getStoryExcel() != null) {
|
if (this.getExcel().getType() == ChallengeType.STORY) {
|
||||||
// Add base score counter
|
// Add base score counter
|
||||||
battle.addBattleTarget(1, 10001, this.getTotalScore());
|
battle.addBattleTarget(1, 10001, this.getTotalScore());
|
||||||
// Add battle targets from story excel
|
// Add battle targets from story excel
|
||||||
for (int id : getExcel().getStoryExcel().getBattleTargetID()) {
|
for (int id : getExcel().getStoryExcel().getBattleTargetID()) {
|
||||||
battle.addBattleTarget(5, id, this.getTotalScore());
|
battle.addBattleTarget(5, id, this.getTotalScore());
|
||||||
}
|
}
|
||||||
|
} else if (this.getExcel().getType() == ChallengeType.BOSS) {
|
||||||
|
// Remaining action count
|
||||||
|
battle.addBattleTarget(1, 90004, 0);
|
||||||
|
battle.addBattleTarget(1, 90005, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user