mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-01 21:10:05 +00:00
altered event drop logic, fixed taro/fm logic
This commit is contained in:
committed by
Gent Semaj
parent
44fd66b511
commit
4eaf3b2f08
@@ -274,6 +274,14 @@ static void loadDrops() {
|
||||
};
|
||||
}
|
||||
|
||||
// Events
|
||||
nlohmann::json events = dropData["Events"];
|
||||
for (nlohmann::json::iterator _event = events.begin(); _event != events.end(); _event++) {
|
||||
auto event = _event.value();
|
||||
|
||||
Items::EventToDropMap[(int)event["EventID"]] = (int)event["MobDropID"];
|
||||
}
|
||||
|
||||
// Mobs
|
||||
nlohmann::json mobs = dropData["Mobs"];
|
||||
for (nlohmann::json::iterator _mob = mobs.begin(); _mob != mobs.end(); _mob++) {
|
||||
|
||||
Reference in New Issue
Block a user