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