```
fix(fight): 修复战斗命中判断逻辑并移除冗余命中检查 - 修复 NewSel32 中的命中判断,将 Side 字段改为 Hit 字段 - 移除 EffectAttackMiss 中的冗余命中判断逻辑 - 移除 EffectDefeatTrigger 中的重复命中检查 - 移除 EffectPhysicalAttackAddStatus 中的冗余命中判断 - 移除多个效果文件中的重复命中检查逻辑 - 修正 Effect136 中的命中处理逻辑,确保在技能命中时正确触发 - 移除其他多个效果中的重复命中检查代码 ```
This commit is contained in:
@@ -68,16 +68,17 @@ func (e *EffectNode) ID(t ...input.EffectIDCombiner) input.EffectIDCombiner {
|
||||
return e.id
|
||||
|
||||
}
|
||||
func (e *EffectNode) Hit(t ...bool) bool {
|
||||
|
||||
if len(t) > 0 {
|
||||
// println("效果命中", e.id.GetEffectType(), e.id.Suffix(), t[0])
|
||||
e.hit = t[0]
|
||||
}
|
||||
// func (e *EffectNode) Hit(t ...bool) bool {
|
||||
|
||||
return e.hit
|
||||
// if len(t) > 0 {
|
||||
// // println("效果命中", e.id.GetEffectType(), e.id.Suffix(), t[0])
|
||||
// e.hit = t[0]
|
||||
// }
|
||||
|
||||
}
|
||||
// return e.hit
|
||||
|
||||
// }
|
||||
func (e *EffectNode) CanStack(t ...bool) bool {
|
||||
|
||||
if len(t) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user