Files
昔念 906bad9e21 refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果
- 修改技能效果的 ID,避免和普通效果 ID 冲突
- 优化战斗循环逻辑,增加战斗结束的判断条件
- 调整输入结构,移除未使用的属性和状态容器
- 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
2025-09-14 19:59:58 +08:00

185 lines
5.1 KiB
Go

{
"groups": [
{
"keys": "petRightResourceReplace_json,MoveFgtvDes_json,move_change_json,addmoves_json,effectInfo_json,new_se_json,pet_friends_json,resistance_json,itemFilter_json,monsters_json,move_stones_json,sp_hide_moves_json,moves_json,nature_json,peak_battle_mons_json,peakCrusade_levelRules_json,pet_skin_json,petLabelInfo_json,skillTypes_json,suit_json,typesRelation_json,achievements_json,battle_effects_json,effectIcon_json,equip_json,evolves_json,gems_json,hide_moves_json,items_json,itemsTip_json,itemType_json,mintmark_json,mintmark_temp_json,medals_json,signIcon_fight_json",
"name": "xml"
}
],
"resources": [
{
"name": "MoveFgtvDes_json",
"type": "json",
"url": "xml/MoveFgtvDes.json"
},
{
"name": "petRightResourceReplace_json",
"type": "json",
"url": "xml/petRightResourceReplace.json"
},
{
"name": "itemFilter_json",
"type": "json",
"url": "xml/itemFilter.json"
},
{
"name": "effectInfo_json",
"type": "json",
"url": "xml/effectInfo.json"
},
{
"name": "new_se_json",
"type": "json",
"url": "xml/new_se.json"
},
{
"name": "pet_friends_json",
"type": "json",
"url": "xml/pet_friends.json"
},
{
"name": "resistance_json",
"type": "json",
"url": "xml/resistance.json"
},
{
"name": "monsters_json",
"type": "json",
"url": "xml/monsters.json"
},
{
"name": "move_stones_json",
"type": "json",
"url": "xml/move_stones.json"
},
{
"name": "sp_hide_moves_json",
"type": "json",
"url": "xml/sp_hide_moves.json"
},
{
"name": "moves_json",
"type": "json",
"url": "xml/moves.json"
},
{
"name": "nature_json",
"type": "json",
"url": "xml/nature.json"
},
{
"name": "peak_battle_mons_json",
"type": "json",
"url": "xml/peak_battle_mons.json"
},
{
"name": "peakCrusade_levelRules_json",
"type": "json",
"url": "xml/peakCrusade_levelRules.json"
},
{
"name": "pet_skin_json",
"type": "json",
"url": "xml/pet_skin.json"
},
{
"name": "petLabelInfo_json",
"type": "json",
"url": "xml/petLabelInfo.json"
},
{
"name": "skillTypes_json",
"type": "json",
"url": "xml/skillTypes.json"
},
{
"name": "suit_json",
"type": "json",
"url": "xml/suit.json"
},
{
"name": "typesRelation_json",
"type": "json",
"url": "xml/typesRelation.json"
},
{
"name": "achievements_json",
"type": "json",
"url": "xml/achievements.json"
},
{
"name": "battle_effects_json",
"type": "json",
"url": "xml/battle_effects.json"
},
{
"name": "effectIcon_json",
"type": "json",
"url": "xml/effectIcon.json"
},
{
"name": "equip_json",
"type": "json",
"url": "xml/equip.json"
},
{
"name": "evolves_json",
"type": "json",
"url": "xml/evolves.json"
},
{
"name": "gems_json",
"type": "json",
"url": "xml/gems.json"
},
{
"name": "hide_moves_json",
"type": "json",
"url": "xml/hide_moves.json"
},
{
"name": "items_json",
"type": "json",
"url": "xml/items.json"
},
{
"name": "itemsTip_json",
"type": "json",
"url": "xml/itemsTip.json"
},
{
"name": "itemType_json",
"type": "json",
"url": "xml/itemType.json"
},
{
"name": "mintmark_json",
"type": "json",
"url": "xml/mintmark.json"
},
{
"name": "mintmark_temp_json",
"type": "json",
"url": "xml/mintmark_temp.json"
},
{
"name": "medals_json",
"type": "json",
"url": "xml/medals.json"
},
{
"name": "signIcon_fight_json",
"type": "json",
"url": "xml/signIcon_fight.json"
},
{
"name": "addmoves_json",
"type": "json",
"url": "xml/addmoves.json"
},
{
"name": "move_change_json",
"type": "json",
"url": "xml/move_change.json"
}
]
}