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:
@@ -23,7 +23,7 @@ type Effect43 struct {
|
||||
func (e *Effect43) OnSkill() bool {
|
||||
|
||||
//fmt.Println("恢复自身最大体量的1/n", tt.IntPart())
|
||||
e.Ctx().Our.Heal(e.Ctx().Our, &action.SelectSkillAction{}, e.Ctx().Our.CurrentPet[0].GetMaxHP().Div(e.Args()[0]))
|
||||
e.Ctx().Our.Heal(e.Ctx().Our, &action.SelectSkillAction{}, e.Ctx().Our.CurPet[0].GetMaxHP().Div(e.Args()[0]))
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user