1
0
mirror of synced 2024-11-24 06:20:10 +01:00

[chuni] Use the map flag event ID when checking in GetGameMapAreaConditionApi

This commit is contained in:
beerpsi 2024-06-23 01:36:48 +07:00
parent be2bf8b491
commit f747a731bf

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)