Skip to content

Commit

Permalink
fix Crusader regression
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Sep 24, 2024
1 parent 8b15c7b commit ca830a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/rs/src/skill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2598,10 +2598,9 @@ impl Skill {
| Stat::maxhp
| Stat::atk
| Stat::card
| Stat::castele
| Stat::cast
| Stat::costele
| Stat::cost
| Stat::shardgolem
| Stat::swarmhp => (),
Stat::adrenaline | Stat::cast | Stat::castele => ctx.set(c, k, v),
_ => ctx.incrStatus(c, k, v),
Expand Down Expand Up @@ -3168,7 +3167,7 @@ impl Skill {
}
for &(k, v) in tstatus.iter() {
match k {
Stat::hp | Stat::maxhp | Stat::atk | Stat::card | Stat::costele => (),
Stat::hp | Stat::maxhp | Stat::atk | Stat::card | Stat::costele | Stat::shardgolem | Stat::swarmhp => (),
Stat::castele | Stat::cast => {
if setcast {
ctx.set(equip, k, v)
Expand Down

0 comments on commit ca830a5

Please sign in to comment.