refactor: 统一效果接口方法名为Skill_Use
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:
@@ -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%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user