comment reorganise
This commit is contained in:
parent
56d11b3534
commit
9d34436d3f
1 changed files with 4 additions and 3 deletions
|
@ -55,7 +55,8 @@ impl FuncParams<'_> {
|
||||||
}
|
}
|
||||||
effect_strength_fr = effstr
|
effect_strength_fr = effstr
|
||||||
} else {
|
} else {
|
||||||
let current_percentage = real_dura.dura_cur / real_dura.dura_max; // percentage of max durability
|
// percentage of max durability
|
||||||
|
let current_percentage = real_dura.dura_cur / real_dura.dura_max;
|
||||||
// see this answer from Stackoverflow for transcribing range
|
// see this answer from Stackoverflow for transcribing range
|
||||||
// https://stackoverflow.com/a/929107
|
// https://stackoverflow.com/a/929107
|
||||||
match current_percentage {
|
match current_percentage {
|
||||||
|
|
Loading…
Add table
Reference in a new issue