mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix typo
This commit is contained in:
parent
5c0299ef82
commit
a4485d9914
@ -767,9 +767,9 @@ fn execute_effect(
|
|||||||
},
|
},
|
||||||
BuffEffect::PoiseReduction(pr) => {
|
BuffEffect::PoiseReduction(pr) => {
|
||||||
if *pr > 0.0 {
|
if *pr > 0.0 {
|
||||||
stat.damage_reduction.pos_mod = stat.damage_reduction.pos_mod.max(*pr);
|
stat.poise_reduction.pos_mod = stat.poise_reduction.pos_mod.max(*pr);
|
||||||
} else {
|
} else {
|
||||||
stat.damage_reduction.neg_mod += pr;
|
stat.poise_reduction.neg_mod += pr;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
BuffEffect::HealReduction(red) => {
|
BuffEffect::HealReduction(red) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user