Search in sources :

Example 1 with UnconsciousBuffEffect

use of eidolons.ability.effects.oneshot.rule.UnconsciousBuffEffect in project Eidolons by IDemiurge.

the class UnconsciousRule method getUnconsciousEffect.

private static Effect getUnconsciousEffect(Unit unit) {
    Effects e = new Effects();
    // Effects effects = new Effects(new
    // AddStatusEffect(STATUS.UNCONSCIOUS));
    // e.add(new ModifyValueEffect(PARAMS.C_FOCUS, MODVAL_TYPE.SET, "0"));
    // e.add(new AddBuffEffect(BUFF_NAME, effects));
    e.add(new UnconsciousFallEffect());
    e.add(new UnconsciousBuffEffect());
    e.setRef(Ref.getSelfTargetingRefCopy(unit));
    return e;
}
Also used : UnconsciousFallEffect(eidolons.ability.effects.oneshot.rule.UnconsciousFallEffect) UnconsciousBuffEffect(eidolons.ability.effects.oneshot.rule.UnconsciousBuffEffect) Effects(main.ability.effects.Effects)

Aggregations

UnconsciousBuffEffect (eidolons.ability.effects.oneshot.rule.UnconsciousBuffEffect)1 UnconsciousFallEffect (eidolons.ability.effects.oneshot.rule.UnconsciousFallEffect)1 Effects (main.ability.effects.Effects)1