1
This commit is contained in:
parent
92f6bd13dc
commit
68be892362
@ -102,8 +102,8 @@ namespace MetaData
|
|||||||
if (attr_type < EA_End) {
|
if (attr_type < EA_End) {
|
||||||
if (attr_level >= 0 && attr_level < i->max_lv()) {
|
if (attr_level >= 0 && attr_level < i->max_lv()) {
|
||||||
for (size_t j = 1; j < i->max_lv(); ++j) {
|
for (size_t j = 1; j < i->max_lv(); ++j) {
|
||||||
if (j % attr_type == 0) {
|
if (j % attr_level == 0) {
|
||||||
level_attrs[j][attr_type] = attr_value;
|
level_attrs[j][attr_type] = attr_value * (j / attr_level);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -390,7 +390,7 @@ namespace MetaData
|
|||||||
if (attr_level >= 0 && attr_level < i->max_lv()) {
|
if (attr_level >= 0 && attr_level < i->max_lv()) {
|
||||||
for (size_t j = 1; j < i->max_lv(); ++j) {
|
for (size_t j = 1; j < i->max_lv(); ++j) {
|
||||||
if (j % attr_type == 0) {
|
if (j % attr_type == 0) {
|
||||||
level_attrs[j][attr_type] = attr_value;
|
level_attrs[j][attr_type] = attr_value * (j / attr_level);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user