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:
@@ -137,7 +137,7 @@ func (e *EffectNode) PropBefer(in *input.Input, prop int8, level int8) bool {
|
||||
|
||||
func (e *EffectNode) ISNaturalEnemy() bool {
|
||||
|
||||
t, _ := element.Calculator.GetOffensiveMultiplier(e.Ctx().Opp.CurrentPet[0].Type, e.Ctx().Our.CurrentPet[0].Type)
|
||||
t, _ := element.Calculator.GetOffensiveMultiplier(e.Ctx().Opp.CurPet[0].Type, e.Ctx().Our.CurPet[0].Type)
|
||||
|
||||
if t <= 1 {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user