29 lines
465 B
Go
29 lines
465 B
Go
package effect
|
|
|
|
import (
|
|
"blazing/logic/service/fight/info"
|
|
"blazing/logic/service/fight/input"
|
|
)
|
|
|
|
// Effect 776: 下{0}回合自身造成的攻击伤害翻倍
|
|
type Effect776 struct {
|
|
RoundEffectSideArg0Base
|
|
StatusID int
|
|
}
|
|
|
|
func (e *Effect776) Damage_Mul(t *info.DamageZone) bool {
|
|
|
|
if t.Type == info.DamageType.Red {
|
|
|
|
t.Mul(2)
|
|
|
|
}
|
|
|
|
return true
|
|
}
|
|
|
|
// ---- 注册所有效果 ----
|
|
func init() {
|
|
input.InitEffect(input.EffectType.Skill, 776, &Effect776{})
|
|
}
|