Skip to content

Commit

Permalink
Fix: confusion coefficient mismatch in rust (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon authored Jun 30, 2023
1 parent 88814d5 commit 346609f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wasm_module/src/data/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ impl Condition {
Condition::Burning => 131.0,
Condition::Confusion => {
if is_special {
49.5
16.34
} else {
11.0
18.25
}
}
Condition::Poison => 33.5,
Expand Down Expand Up @@ -180,9 +180,9 @@ impl Condition {
Condition::Burning => 0.155,
Condition::Confusion => {
if is_special {
0.0975
0.0325
} else {
0.03
0.05
}
}
Condition::Poison => 0.06,
Expand Down

0 comments on commit 346609f

Please sign in to comment.