add cast animation check

This commit is contained in:
Mashy 2020-01-06 16:53:40 +10:00
parent dd72c6403d
commit b3b9d40262
2 changed files with 3 additions and 3 deletions

View File

@ -518,7 +518,9 @@ impl Game {
.any(|c| !self.construct(c.target).is_ko() && !self.construct(c.target).immune(c.skill).is_some()); .any(|c| !self.construct(c.target).is_ko() && !self.construct(c.target).immune(c.skill).is_some());
if castable { if castable {
if cast.skill.cast_animation() {
self.action(cast, Action::Cast); self.action(cast, Action::Cast);
}
if cast.skill.aoe() { if cast.skill.aoe() {
self.action(cast, Action::HitAoe); self.action(cast, Action::HitAoe);
} }

View File

@ -559,8 +559,6 @@ impl Skill {
pub fn cast_animation(&self) -> bool { pub fn cast_animation(&self) -> bool {
match self { match self {
Skill::HybridBlast |
Skill::HasteStrike |
Skill::CounterAttack| Skill::CounterAttack|
Skill::CounterAttackPlus | Skill::CounterAttackPlus |
Skill::CounterAttackPlusPlus | // counter Skill::CounterAttackPlusPlus | // counter