use of eidolons.ability.conditions.special.RollCondition in project Eidolons by IDemiurge.
the class TrampleRule method initConditions.
@Override
public void initConditions() {
conditions = new Conditions(// make sure the *source* is correct ref!
new StdPassiveCondition(UnitEnums.STANDARD_PASSIVES.TRAMPLE, KEYS.EVENT_SOURCE), new AttackCondition(false), new NumericCondition("{source_total_weight}+{Strength}*2", "{event_target_bludgeoning_resistance}/100*{event_target_total_weight}*2+{event_target_Strength}*6"), // reflex roll?
new RollCondition(GenericEnums.ROLL_TYPES.REFLEX));
conditions.setFastFailOnCheck(true);
}
Aggregations