refactor(fight): 简化enterturn方法,移除initAttackers无用参数sattack
This commit is contained in:
@@ -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
|
||||
|
||||
//开始回合操作
|
||||
|
||||
Reference in New Issue
Block a user