27 lines
463 B
Go
27 lines
463 B
Go
package effect
|
|
|
|
import (
|
|
"blazing/logic/service/fight/input"
|
|
)
|
|
|
|
// Effect 535: {0}回合内若受到攻击则自身防御+1 特防+1
|
|
type Effect535 struct {
|
|
RoundEffectArg0Base
|
|
duration int
|
|
}
|
|
|
|
func (e *Effect535) Skill_Use_ex() bool {
|
|
if e.Ctx().SkillEntity == nil {
|
|
return true
|
|
|
|
}
|
|
|
|
e.Ctx().Our.SetProp(e.Ctx().Our, 1, 1)
|
|
e.Ctx().Our.SetProp(e.Ctx().Our, 3, 1)
|
|
return true
|
|
}
|
|
|
|
func init() {
|
|
input.InitEffect(input.EffectType.Skill, 535, &Effect535{})
|
|
}
|