[Bug Fix] Fix Character EXP Modifiers default (#4161)

# Notes
- The `-1.0f` was causing these modifiers to be set to `0.0` and when people would enable them they would get no experience.
- We now use the zone based grabbed methods when setting which will default to a value of `1.0f` if there is not a value found.
This commit is contained in:
Alex King
2024-03-05 22:54:07 -05:00
committed by GitHub
parent ee3d02bac6
commit 2c2a8cdb63
4 changed files with 80 additions and 4 deletions
@@ -74,9 +74,11 @@ public:
};
}
const auto& m = l.front();
return EXPModifier{
.aa_modifier = l[0].aa_modifier,
.exp_modifier = l[0].exp_modifier
.aa_modifier = m.aa_modifier,
.exp_modifier = m.exp_modifier
};
}