Search in sources :

Example 6 with AddStatusEffect

use of main.ability.effects.common.AddStatusEffect in project Eidolons by IDemiurge.

the class DC_CounterRule method initEffects.

public void initEffects() {
    effects = new Effects();
    STATUS status = getStatus();
    if (status != null) {
        effects.add(new AddStatusEffect(status.toString()));
    }
    Effect e = getEffect();
    if (e != null) {
        effects.add(e);
    }
    effects.setForcedLayer(getEffectLayer());
}
Also used : STATUS(main.content.enums.entity.UnitEnums.STATUS) AddBuffEffect(eidolons.ability.effects.attachment.AddBuffEffect) ContinuousEffect(main.ability.effects.continuous.ContinuousEffect) Effect(main.ability.effects.Effect) AddStatusEffect(main.ability.effects.common.AddStatusEffect) ModifyCounterEffect(eidolons.ability.effects.oneshot.mechanic.ModifyCounterEffect) CustomTargetEffect(main.ability.effects.continuous.CustomTargetEffect) Effects(main.ability.effects.Effects) AddStatusEffect(main.ability.effects.common.AddStatusEffect)

Aggregations

AddStatusEffect (main.ability.effects.common.AddStatusEffect)6 AddBuffEffect (eidolons.ability.effects.attachment.AddBuffEffect)3 Effects (main.ability.effects.Effects)3 Effect (main.ability.effects.Effect)2 AddTriggerEffect (eidolons.ability.effects.attachment.AddTriggerEffect)1 TriggerEffect (eidolons.ability.effects.continuous.triggered.TriggerEffect)1 ModifyCounterEffect (eidolons.ability.effects.oneshot.mechanic.ModifyCounterEffect)1 RollEffect (eidolons.ability.effects.oneshot.mechanic.RollEffect)1 ContinuousEffect (main.ability.effects.continuous.ContinuousEffect)1 CustomTargetEffect (main.ability.effects.continuous.CustomTargetEffect)1 STATUS (main.content.enums.entity.UnitEnums.STATUS)1 Conditions (main.elements.conditions.Conditions)1 RefCondition (main.elements.conditions.RefCondition)1 Ref (main.entity.Ref)1