Let battle_event follow game version #19

Merged
Dniel97 merged 4 commits from kwankaho/artemis:idac-battle_event into idac 2024-07-25 19:50:52 +00:00
Showing only changes of commit 197a20a3fb - Show all commits

View File

@ -329,7 +329,7 @@ class IDACSeason2(IDACBase):
battle_gift_event = [] battle_gift_event = []
if ver_str in self.battle_gift_event: if ver_str in self.battle_gift_event:
battle_gift_event_data = self.timetrial_event.get(ver_str, {}) battle_gift_event_data = self.battle_gift_event.get(ver_str, {})
# check if battle gift event time is valid # check if battle gift event time is valid
start_dt = battle_gift_event_data.get("start_dt", 0) start_dt = battle_gift_event_data.get("start_dt", 0)
end_dt = battle_gift_event_data.get("end_dt", 0) end_dt = battle_gift_event_data.get("end_dt", 0)