refactor: 统一效果接口方法名为Skill_Use
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-08 20:07:59 +08:00
committed by cnb
parent d8beb39e9a
commit 0cff02158b
16 changed files with 17 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ type Effect422 struct {
node.EffectNode
}
func (e *Effect422) SkillUseed() bool {
func (e *Effect422) Skill_Use() bool {
damageDone := e.Ctx().Our.SumDamage
percent := e.Args()[0].Div(alpacadecimal.NewFromInt(100)) // X%