mirror of
https://gitlab.com/veloren/veloren.git
synced 2025-07-25 04:42:23 +00:00
Merge branch 'sam/fix-pr-typo' into 'master'
Fix typo See merge request veloren/veloren!4500
This commit is contained in:
@ -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) => {
|
||||||
|
Reference in New Issue
Block a user