mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 17:32:17 +00:00
[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:
1 parent
ee3d02bac6
commit
2c2a8cdb63
4 files changed
+80
-4
No files matched your search
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user