use of eidolons.ability.effects.oneshot.rule.InjuryEffect in project Eidolons by IDemiurge.
the class InjuryRule method applyInjuryRule.
// dynamic reset to support cure?
public static void applyInjuryRule(DC_ActiveObj action) {
INJURY_TYPE type = null;
new InjuryEffect(type);
// action.getDamageType()
}
use of eidolons.ability.effects.oneshot.rule.InjuryEffect in project Eidolons by IDemiurge.
the class InjuryRule method applyOldWounds.
public static void applyOldWounds(Unit hero) {
Effects effects = new Effects();
for (String substring : StringMaster.open(hero.getProperty(PROPS.INJURIES))) {
INJURY template = new EnumMaster<INJURY>().retrieveEnumConst(INJURY.class, substring);
effects.add(new InjuryEffect(template, true));
}
effects.apply(Ref.getSelfTargetingRefCopy(hero));
}
Aggregations