mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'sam/fix-pr-typo' into 'master'
Fix typo See merge request veloren/veloren!4500
This commit is contained in:
commit
8589e8f9f6
@ -767,9 +767,9 @@ fn execute_effect(
|
||||
},
|
||||
BuffEffect::PoiseReduction(pr) => {
|
||||
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 {
|
||||
stat.damage_reduction.neg_mod += pr;
|
||||
stat.poise_reduction.neg_mod += pr;
|
||||
}
|
||||
},
|
||||
BuffEffect::HealReduction(red) => {
|
||||
|
Loading…
Reference in New Issue
Block a user