refactor(fight/effect): 重构技能命中处理逻辑,统一使用OnHit/OnMiss接口并新增Effect85偷取强化效果
This commit is contained in:
@@ -17,7 +17,7 @@ type Effect interface {
|
||||
|
||||
// OnSkillPP() bool //技能PP减少节点
|
||||
AfterProp(t *Input)
|
||||
BeferProp(in *Input, prop, level int, ptype info.EnumAbilityOpType) bool
|
||||
BeferProp(in *Input, prop, level int8, ptype info.EnumAbilityOpType) bool
|
||||
AfterAttr(t *info.BattlePetEntity) //在获取属性前,比如重写对方属性AfterAttr
|
||||
BeferAttr(t *info.BattlePetEntity) //在获取属性后,比如视为对方属性
|
||||
SetArgs(input *Input, param ...int)
|
||||
|
||||
Reference in New Issue
Block a user