package effect import ( "blazing/logic/service/fight/input" ) // Effect 416: {0}回合内受到任何伤害,对手{1}降低{2}个等级 type Effect416 struct { RoundEffectArg0Base } func (e *Effect416) Skill_Use_ex() bool { effectType := int8(e.Args()[1].IntPart()) // XX类型 effectValue := int8(e.Args()[2].IntPart()) // 降低m个等级 e.Ctx().Opp.SetProp(e.Ctx().Our, effectType, effectValue) return true } func init() { input.InitEffect(input.EffectType.Skill, 416, &Effect416{}) }