26 lines
522 B
Go
26 lines
522 B
Go
package effect
|
|
|
|
import (
|
|
"blazing/logic/service/fight/input"
|
|
)
|
|
|
|
// Effect 157: {0}回合内若受到攻击,对手防御等级-1、特防等级-1、命中等级-1
|
|
type Effect157 struct {
|
|
RoundEffectArg0Base
|
|
}
|
|
|
|
func (e *Effect157) Skill_Use_ex() bool {
|
|
if e.Ctx().SkillEntity == nil {
|
|
return true
|
|
}
|
|
e.Ctx().Opp.SetProp(e.Ctx().Our, 1, -1)
|
|
e.Ctx().Opp.SetProp(e.Ctx().Our, 3, -1)
|
|
e.Ctx().Opp.SetProp(e.Ctx().Our, 5, -1)
|
|
|
|
return true
|
|
}
|
|
func init() {
|
|
input.InitEffect(input.EffectType.Skill, 157, &Effect157{})
|
|
|
|
}
|