refactor(fight/effect): 重构技能威力计算逻辑,优化暴击判定方式并新增BeforeSkill接口

This commit is contained in:
1
2025-09-24 20:51:42 +00:00
parent 726a2d6cb5
commit a4b2e5da9e
4 changed files with 24 additions and 8 deletions

View File

@@ -18,4 +18,6 @@ func (e *EffectNode) OnSkill(opp *input.Input, skill *info.SkillEntity) {
func (e *EffectNode) OnSkillPP() bool {
return true
}
func (e *EffectNode) BeforeSkill(opp *input.Input, skill *info.SkillEntity) {
}