refactor(fight): 简化enterturn方法,移除initAttackers无用参数sattack

This commit is contained in:
1
2025-09-21 17:18:51 +00:00
parent 6e38877d52
commit 9ffe6abe31

View File

@@ -465,7 +465,7 @@ func (f *FightC) processSkillAttack(attacker, defender *input.Input, a *SelectSk
func (f *FightC) enterturn(fattack, sattack BattleActionI) {
f.initAttackers(fattack, sattack) //初始化先后手
f.initAttackers(fattack) //初始化先后手
var attacker, defender *input.Input
//开始回合操作