Interface IReductionFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An
This allows sequential modification of damage reduction values to be stored and later invoked before actual reductions are applied to the damage sequence.
IReductionFunction
is used by DamageContainer
instances.This allows sequential modification of damage reduction values to be stored and later invoked before actual reductions are applied to the damage sequence.
-
Method Summary
Modifier and TypeMethodDescriptionfloat
modify
(DamageContainer container, float reductionIn) Consumes an existing reduction value and produces a modified value.
-
Method Details
-
modify
Consumes an existing reduction value and produces a modified value.- Parameters:
container
- theDamageContainer
representing the damage sequence values for the reduction being modifiedreductionIn
- the initial or preceding reduction value to this operation- Returns:
- the new reduction value
-