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