Fix raw stat bonus applying
This commit is contained in:
parent
e4d7a42a50
commit
d59cdfc611
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ const atree_stats = new (class extends ComputeNode {
|
|||
case 'raw_stat':
|
||||
// TODO: toggles...
|
||||
for (const bonus of effect.bonuses) {
|
||||
const { type, name, abil = "", value } = effect;
|
||||
const { type, name, abil = "", value } = bonus;
|
||||
// TODO: prop
|
||||
if (type === "stat") {
|
||||
if (ret_effects.has(name)) { ret_effects.set(name, ret_effects.get(name) + value); }
|
||||
|
|
Loading…
Reference in a new issue