mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 02:57:25 +00:00
b2ab868351
* Add: combat support * Fix: team_set logic when using support in combat * Add: Support character selection * Upd: optimize support character get logic * Fix: bug in get_character_by_name * Upd: use keywords to generate support config * Fix: Correct comment language to English * Fix: Remove debug statements * Upd: Improve UI icons and positioning * Upd: Refactor support * Upd: character keyword extract * Upd:Character icon * Upd: Character icon * Upd: Character icon * Upd: Optimize the parameter in SupportListScroll * Upd: Refactor support * Fix: Bug in Dungeon * Fix: Corrected comments in Combat and Support * Upd: Modified parameter * Refactor: Support logic * Refactor: Support logic * Refactor: Support logic * Upd: Character icon * Upd: Character icon * Refactor: Support logic * Refactor: Support logic
56 lines
1.7 KiB
Python
56 lines
1.7 KiB
Python
from module.base.button import Button, ButtonWrapper
|
|
|
|
# This file was auto-generated, do not modify it manually. To generate:
|
|
# ``` python -m dev_tools.button_extract ```
|
|
|
|
COMBAT_SUPPORT_ADD = ButtonWrapper(
|
|
name='COMBAT_SUPPORT_ADD',
|
|
share=Button(
|
|
file='./assets/share/combat/support/COMBAT_SUPPORT_ADD.png',
|
|
area=(1032, 649, 1132, 680),
|
|
search=(1012, 629, 1152, 700),
|
|
color=(228, 228, 228),
|
|
button=(1032, 649, 1132, 680),
|
|
),
|
|
)
|
|
COMBAT_SUPPORT_LIST = ButtonWrapper(
|
|
name='COMBAT_SUPPORT_LIST',
|
|
share=Button(
|
|
file='./assets/share/combat/support/COMBAT_SUPPORT_LIST.png',
|
|
area=(57, 637, 100, 680),
|
|
search=(37, 617, 120, 700),
|
|
color=(212, 213, 215),
|
|
button=(57, 637, 100, 680),
|
|
),
|
|
)
|
|
COMBAT_SUPPORT_LIST_GRID = ButtonWrapper(
|
|
name='COMBAT_SUPPORT_LIST_GRID',
|
|
share=Button(
|
|
file='./assets/share/combat/support/COMBAT_SUPPORT_LIST_GRID.png',
|
|
area=(64, 115, 159, 634),
|
|
search=(44, 95, 179, 654),
|
|
color=(119, 108, 132),
|
|
button=(64, 115, 159, 634),
|
|
),
|
|
)
|
|
COMBAT_SUPPORT_LIST_SCROLL = ButtonWrapper(
|
|
name='COMBAT_SUPPORT_LIST_SCROLL',
|
|
share=Button(
|
|
file='./assets/share/combat/support/COMBAT_SUPPORT_LIST_SCROLL.png',
|
|
area=(448, 112, 452, 610),
|
|
search=(428, 92, 472, 630),
|
|
color=(127, 133, 150),
|
|
button=(448, 112, 452, 610),
|
|
),
|
|
)
|
|
COMBAT_SUPPORT_SELECTED = ButtonWrapper(
|
|
name='COMBAT_SUPPORT_SELECTED',
|
|
share=Button(
|
|
file='./assets/share/combat/support/COMBAT_SUPPORT_SELECTED.png',
|
|
area=(69, 114, 91, 116),
|
|
search=(49, 94, 111, 136),
|
|
color=(254, 254, 254),
|
|
button=(69, 114, 91, 116),
|
|
),
|
|
)
|