mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-19 00:34:39 +01:00
Fix starting a battle by normal attacking not breaking enemy toughness
This commit is contained in:
@@ -24,7 +24,7 @@ public class SkillAbilityInfo {
|
|||||||
|
|
||||||
// Skip if not a maze skill
|
// Skip if not a maze skill
|
||||||
if (ability.getName().contains("MazeSkill")) {
|
if (ability.getName().contains("MazeSkill")) {
|
||||||
skill = new MazeSkill(avatarExcel, 1);
|
skill = new MazeSkill(avatarExcel, 2);
|
||||||
avatarExcel.setMazeSkill(skill);
|
avatarExcel.setMazeSkill(skill);
|
||||||
|
|
||||||
actionList = skill.getCastActions();
|
actionList = skill.getCastActions();
|
||||||
@@ -36,7 +36,7 @@ public class SkillAbilityInfo {
|
|||||||
skill.getCastActions().add(new MazeSkillSummonUnit(summonUnitExcel, 20));
|
skill.getCastActions().add(new MazeSkillSummonUnit(summonUnitExcel, 20));
|
||||||
}
|
}
|
||||||
} else if (ability.getName().contains("NormalAtk")) {
|
} else if (ability.getName().contains("NormalAtk")) {
|
||||||
skill = new MazeSkill(avatarExcel, 0);
|
skill = new MazeSkill(avatarExcel, 1);
|
||||||
avatarExcel.setMazeAttack(skill);
|
avatarExcel.setMazeAttack(skill);
|
||||||
|
|
||||||
actionList = skill.getAttackActions();
|
actionList = skill.getAttackActions();
|
||||||
@@ -79,7 +79,7 @@ public class SkillAbilityInfo {
|
|||||||
parseTask(skill, skill.getAttackActions(), t);
|
parseTask(skill, skill.getAttackActions(), t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (skill.getIndex() == 1) {
|
if (skill.getIndex() == 2) {
|
||||||
skill.setTriggerBattle(task.isTriggerBattle());
|
skill.setTriggerBattle(task.isTriggerBattle());
|
||||||
}
|
}
|
||||||
} else if (task.getType().contains("AdventureFireProjectile")) {
|
} else if (task.getType().contains("AdventureFireProjectile")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user