mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: [EN] shop task; grid now uniform with other servers (#5081)
Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from module.base.decorator import Config, cached_property
|
||||
from module.base.decorator import cached_property
|
||||
from module.logger import logger
|
||||
from module.shop.base import ShopItemGrid, ShopItemGrid_250814
|
||||
from module.shop.clerk import ShopClerk
|
||||
@@ -93,26 +93,8 @@ class MeritShop_250814(MeritShop):
|
||||
template_area=(25, 20, 82, 72),
|
||||
amount_area=(42, 50, 65, 65),
|
||||
cost_area=(-12, 115, 60, 155),
|
||||
price_area=self._shop_merit_price_area
|
||||
price_area=(18, 121, 85, 150),
|
||||
)
|
||||
shop_merit_items.load_template_folder(self.shop_template_folder)
|
||||
shop_merit_items.load_cost_template_folder('./assets/shop/cost')
|
||||
return shop_merit_items
|
||||
|
||||
@cached_property
|
||||
@Config.when(SERVER='en')
|
||||
def _shop_merit_price_area(self):
|
||||
"""
|
||||
Returns:
|
||||
tuple:
|
||||
"""
|
||||
return 18, 121, 85, 160
|
||||
|
||||
@cached_property
|
||||
@Config.when(SERVER=None)
|
||||
def _shop_merit_price_area(self):
|
||||
"""
|
||||
Returns:
|
||||
tuple:
|
||||
"""
|
||||
return 18, 121, 85, 150
|
||||
|
||||
Reference in New Issue
Block a user