refactor(fight): 重构战斗效果和技能初始化逻辑

- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果
- 修改技能效果的 ID,避免和普通效果 ID 冲突
- 优化战斗循环逻辑,增加战斗结束的判断条件
- 调整输入结构,移除未使用的属性和状态容器
- 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
2025-09-14 19:59:58 +08:00
parent 929b0c9006
commit 906bad9e21
617 changed files with 3615605 additions and 42 deletions

View File

@@ -0,0 +1,175 @@
{
"_declaration": {
"version": 1,
"encoding": "UTF-8"
},
"root": {
"icon": [
{
"direction": "left",
"shownewseer": 0,
"priority": 1,
"exMapList": 50000,
"ui": "markJackpot_icon",
"tips": "刻印之轮",
"mouseClickFunc": "app:FinalActivityPanel"
},
{
"direction": "left",
"shownewseer": 0,
"priority": 2,
"exMapList": 50000,
"ui": "petJackpot_icon",
"tips": "精灵招募",
"mouseClickFunc": "app:FinalActivityPanel"
},
{
"direction": "left",
"shownewseer": 0,
"priority": 3,
"exMapList": 50000,
"ui": "shengdianyingxiongtuan_icon",
"tips": "圣殿英雄团",
"mouseClickFunc": "app:TempleHeroAltarPrePanel"
},
{
"direction": "left",
"shownewseer": 0,
"priority": 5,
"exMapList": 50000,
"ui": "peakJihad2023WarOrde",
"tips": "星际通行证",
"mouseClickFunc": "app:FinalActivityPanel"
},
{
"direction": "left",
"shownewseer": 0,
"priority": 4,
"exMapList": 50000,
"ui": "laidashenqi_icon",
"tips": "莱达神祇",
"mouseClickFunc": "app:LaiDaBackPanel"
},
{
"direction": "left_side",
"shownewseer": 0,
"priority": 1,
"exMapList": 50000,
"ui": "lotteryIcon",
"tips": "精灵强化",
"mouseClickFunc": "app:TreasureHuntPanel"
},
{
"direction": "left_bar",
"shownewseer": 0,
"priority": 1,
"exMapList": 50000,
"ui": "shopcenter_icon",
"tips": "最新礼包",
"mouseClickFunc": "app:NewGiftMainPanel"
},
{
"direction": "left_bar",
"shownewseer": 0,
"priority": 2,
"exMapList": 50000,
"ui": "yearvip_icon",
"tips": "2025年费",
"initfunc": "com.robot.app2.systems.iconLevel.IconFuncManager:initVip2016",
"mouseClickFunc": "app:Yearvip2025MainPanel"
},
{
"direction": "left_side",
"priority": 2,
"exMapList": 50000,
"ui": "newSeer2020_icon",
"tips": "新手福利",
"initfunc": "com.robot.app2.systems.iconLevel.IconFuncManager:initNewseer2020icon",
"mouseClickFunc": "app:BeginnerForcePopPanel"
},
{
"direction": "right",
"shownewseer": 0,
"priority": 1,
"exMapList": 50000,
"ui": "recommendedpet_icon",
"tips": "推荐精灵",
"mouseClickFunc": "app:RecommendPetPanel"
},
{
"direction": "right",
"shownewseer": 0,
"priority": 2,
"exMapList": 50000,
"ui": "task_main_icon",
"tips": "主线剧情",
"initfunc": "com.robot.app2.systems.iconLevel.IconFuncManager:initTask",
"mouseClickFunc": "app:MainLineAdventureOverview"
},
{
"direction": "right",
"shownewseer": 0,
"priority": 3,
"exMapList": 50000,
"ui": "pvpPreIcon",
"tips": "巅峰联赛 全新赛季",
"mouseClickFunc": "mapApp:1095,PeakJihad2023MainPanel"
},
{
"direction": "right",
"shownewseer": 0,
"priority": 4,
"exMapList": 50000,
"ui": "announcement_icon",
"tips": "公告中心",
"mouseClickFunc": "app:NoticeCenterMainPanel"
},
{
"direction": "right",
"shownewseer": 0,
"priority": 5,
"exMapList": 50000,
"ui": "SanDuanHuTong_icon",
"tips": "最新活动",
"mouseClickFunc": "app:FinalActivityPanel"
},
{
"direction": "right_side",
"shownewseer": 0,
"priority": 1,
"exMapList": 50000,
"ui": "resourcelevel_icon",
"tips": "资源副本",
"mouseClickFunc": "app:ResourceCopyMainPanel"
},
{
"direction": "right_bar",
"shownewseer": 0,
"priority": 1,
"exMapList": 50000,
"ui": "sceneActivity_icon",
"tips": "往期活动",
"mouseClickFunc": "app:SceneActivityPanel"
},
{
"direction": "right_bar",
"shownewseer": 0,
"priority": 2,
"exMapList": 50000,
"ui": "SeerTrainLog_icon",
"tips": "钻石任务",
"mouseClickFunc": "app:DiamondTask2022MainPanel"
},
{
"direction": "right_side",
"shownewseer": 0,
"priority": 2,
"exMapList": 50000,
"ui": "ReturnLogin_Icon",
"tips": "老兵回归福利",
"initfunc": "com.robot.app2.systems.iconLevel.IconFuncManager:seer2023retrun",
"mouseClickFunc": "app:SeerReturnGoToPopPanel"
}
]
}
}