parent
e304472638
commit
f20f8b01be
@ -6175,9 +6175,9 @@ uint64 MobItemRatioDatabase::parseBodyNode(const ryml::NodeRef& node) {
|
||||
}
|
||||
|
||||
if (this->nodeExists(node, "Ratio")) {
|
||||
uint16 ratio;
|
||||
uint32 ratio;
|
||||
|
||||
if (!this->asUInt16(node, "Ratio", ratio))
|
||||
if (!this->asUInt32(node, "Ratio", ratio))
|
||||
return 0;
|
||||
|
||||
data->drop_ratio = ratio;
|
||||
|
@ -219,7 +219,7 @@ public:
|
||||
|
||||
struct s_mob_item_drop_ratio {
|
||||
t_itemid nameid;
|
||||
uint16 drop_ratio;
|
||||
uint32 drop_ratio;
|
||||
std::vector<uint16> mob_ids;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user