This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"blazing/logic/service/fight/node"
|
||||
)
|
||||
|
||||
// 475 - 若造成的伤害不足m,则下n回合的攻击必定致命一击
|
||||
// Effect 475: 若造成的伤害不足{0},则下{1}回合的攻击必定致命一击
|
||||
type Effect475 struct {
|
||||
node.EffectNode
|
||||
damageThreshold int
|
||||
@@ -21,7 +21,7 @@ func (e *Effect475) Skill_Use() bool {
|
||||
if damageDone.IntPart() < int64(damageThreshold) {
|
||||
critDuration := int(e.Args()[1].IntPart())
|
||||
|
||||
e.Ctx().Our.AddEffect(e.Ctx().Our, e.GenSub(&Effect475_sub{}, critDuration))
|
||||
addSubEffect(e.Ctx().Our, e.Ctx().Our, &e.EffectNode, &Effect475_sub{}, critDuration)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user