mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 10:16:34 +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
96 lines
2.6 KiB
Python
96 lines
2.6 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_TEAM_DISMISSSUPPORT = ButtonWrapper(
|
|
name='COMBAT_TEAM_DISMISSSUPPORT',
|
|
share=Button(
|
|
file='./assets/share/combat/team/COMBAT_TEAM_DISMISSSUPPORT.png',
|
|
area=(1127, 477, 1154, 501),
|
|
search=(1107, 457, 1174, 521),
|
|
color=(132, 140, 150),
|
|
button=(1127, 477, 1154, 501),
|
|
),
|
|
)
|
|
COMBAT_TEAM_PREPARE = ButtonWrapper(
|
|
name='COMBAT_TEAM_PREPARE',
|
|
cn=Button(
|
|
file='./assets/cn/combat/team/COMBAT_TEAM_PREPARE.png',
|
|
area=(1037, 648, 1116, 667),
|
|
search=(1017, 628, 1136, 687),
|
|
color=(159, 159, 159),
|
|
button=(958, 641, 1193, 676),
|
|
),
|
|
)
|
|
COMBAT_TEAM_SUPPORT = ButtonWrapper(
|
|
name='COMBAT_TEAM_SUPPORT',
|
|
share=Button(
|
|
file='./assets/share/combat/team/COMBAT_TEAM_SUPPORT.png',
|
|
area=(1123, 477, 1158, 503),
|
|
search=(1103, 457, 1178, 523),
|
|
color=(195, 215, 201),
|
|
button=(1123, 477, 1158, 503),
|
|
),
|
|
)
|
|
TEAM_1 = ButtonWrapper(
|
|
name='TEAM_1',
|
|
share=Button(
|
|
file='./assets/share/combat/team/TEAM_1.png',
|
|
area=(432, 32, 467, 63),
|
|
search=(412, 12, 487, 83),
|
|
color=(142, 134, 127),
|
|
button=(432, 32, 467, 63),
|
|
),
|
|
)
|
|
TEAM_2 = ButtonWrapper(
|
|
name='TEAM_2',
|
|
share=Button(
|
|
file='./assets/share/combat/team/TEAM_2.png',
|
|
area=(531, 32, 572, 63),
|
|
search=(511, 12, 592, 83),
|
|
color=(142, 136, 129),
|
|
button=(531, 32, 572, 63),
|
|
),
|
|
)
|
|
TEAM_3 = ButtonWrapper(
|
|
name='TEAM_3',
|
|
share=Button(
|
|
file='./assets/share/combat/team/TEAM_3.png',
|
|
area=(631, 32, 673, 63),
|
|
search=(611, 12, 693, 83),
|
|
color=(135, 128, 117),
|
|
button=(631, 32, 673, 63),
|
|
),
|
|
)
|
|
TEAM_4 = ButtonWrapper(
|
|
name='TEAM_4',
|
|
share=Button(
|
|
file='./assets/share/combat/team/TEAM_4.png',
|
|
area=(731, 32, 774, 63),
|
|
search=(711, 12, 794, 83),
|
|
color=(129, 121, 113),
|
|
button=(731, 32, 774, 63),
|
|
),
|
|
)
|
|
TEAM_5 = ButtonWrapper(
|
|
name='TEAM_5',
|
|
share=Button(
|
|
file='./assets/share/combat/team/TEAM_5.png',
|
|
area=(831, 32, 873, 63),
|
|
search=(811, 12, 893, 83),
|
|
color=(139, 129, 117),
|
|
button=(831, 32, 873, 63),
|
|
),
|
|
)
|
|
TEAM_6 = ButtonWrapper(
|
|
name='TEAM_6',
|
|
share=Button(
|
|
file='./assets/share/combat/team/TEAM_6.png',
|
|
area=(931, 32, 973, 63),
|
|
search=(911, 12, 993, 83),
|
|
color=(133, 124, 113),
|
|
button=(931, 32, 973, 63),
|
|
),
|
|
)
|