refactor: 重构 CurrentPet 为 CurPet
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -24,7 +24,7 @@ type Effect57 struct {
|
||||
|
||||
func (e *Effect57) OnSkill() bool {
|
||||
|
||||
heal := e.Ctx().Our.CurrentPet[0].GetMaxHP().Div(e.Args()[1])
|
||||
heal := e.Ctx().Our.CurPet[0].GetMaxHP().Div(e.Args()[1])
|
||||
e.Ctx().Our.Heal(e.Ctx().Our, &action.SelectSkillAction{}, heal)
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user