refactor(fight): 统一技能执行方法命名并修复战斗逻辑错误 - 将多个boss技能结构体中的OnSkill()方法重命名为Skill_Use()以保持一致性 - 修改fightc.go中的战斗回合逻辑,修复attacker和defender的执行顺序错误 - 将Effect126的TurnStart方法改为Skill_Use方法并返回bool值 - 为Effect499添加缺失的方法实现 - 移除effect_124_126.go中未
This commit is contained in:
@@ -11,7 +11,7 @@ type NewSel66 struct {
|
||||
NewSel0
|
||||
}
|
||||
|
||||
func (e *NewSel66) OnSkill() bool {
|
||||
func (e *NewSel66) Skill_Use() bool {
|
||||
if e.ID().GetCatchTime() != e.Ctx().Our.CurrentPet.Info.CatchTime {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user