public static IActiveSkill ActiveSkill19(int cdMs, float h) { var addMissToOpponent = new BattleBuffs.AddHaste(3, 1, 10000, -20); var attackHitOrMissWithBuffToOpponent = new Actives.AttackHitOrMissWithBuffToOpponent( OpponentTargetType.FirstOpponent, true, OpponentTargetType.FirstOpponent, new BattleBuffs.IBattleBuff[] { addMissToOpponent }, h); return(new StandardActiveSkill(new Actives.IActiveEffect[] { attackHitOrMissWithBuffToOpponent }, cdMs)); }
public static IActiveSkill ActiveSkill6(int cdMs, float harmM) { var healDecrease = new BattleBuffs.HealDecrease(4000, 1, 1, 1000); var attackHitOrMissWithBuffToOpponent = new Actives.AttackHitOrMissWithBuffToOpponent( OpponentTargetType.FirstOpponent, true, OpponentTargetType.FirstOpponent, new BattleBuffs.IBattleBuff[] { healDecrease }, harmM); var standardActiveSkill = new StandardActiveSkill(new Actives.IActiveEffect[] { attackHitOrMissWithBuffToOpponent }, cdMs); return(standardActiveSkill); }