Merge pull request '[chuni] Use the map flag event ID when checking in GetGameMapAreaConditionApi' (#158) from beerpsi/artemis:fix/chuni/use-map-flag-event into develop

Reviewed-on: Hay1tsme/artemis#158
This commit is contained in:
Hay1tsme 2024-06-22 22:44:00 +00:00
commit e432cc1adf

View File

@ -1,8 +1,6 @@
from datetime import timedelta from datetime import timedelta
from typing import Dict from typing import Dict
from sqlalchemy.dialects.mysql.base import MySQLExecutionContext
from core.config import CoreConfig from core.config import CoreConfig
from titles.chuni.sunplus import ChuniSunPlus from titles.chuni.sunplus import ChuniSunPlus
from titles.chuni.const import ChuniConstants, MapAreaConditionLogicalOperator, MapAreaConditionType from titles.chuni.const import ChuniConstants, MapAreaConditionLogicalOperator, MapAreaConditionType
@ -258,8 +256,8 @@ class ChuniLuminous(ChuniSunPlus):
) )
# LUMINOUS ep. II # LUMINOUS ep. II
if 14250 in event_by_id: if 14251 in event_by_id:
start_date = event_by_id[14250]["startDate"].strftime(self.date_time_format) start_date = event_by_id[14251]["startDate"].strftime(self.date_time_format)
if not mystic_area_1_added: if not mystic_area_1_added:
conditions.append(mystic_area_1_conditions) conditions.append(mystic_area_1_conditions)