Light Conditional Stat Affecter - KonradHeinser/EBSGFramework GitHub Wiki
Return to Main Conditional Stat Affecters Page
This gene conditional stat affecter causes stat changes when the pawn is standing in certain light levels:
<conditionalStatAffecters>
<li Class="EBSGFramework.ConditionalStatAffecter_Light">
<label>label</label>
<statFactors>
</statFactors>
<statOffsets>
</statOffsets>
<lightLevel>0~1</lightLevel>
</li>
</conditionalStatAffecters>
- label : A label to override the default
- lightLevel : Default (0~1) : The light level of the area the pawn is standing must be in this range for the condition to pass
- invert : Default (False) : Makes it so lightLevel looks to make sure the value is outside the range instead of inside
- For example, if you set the light level to 0.3~0.7, then invert it, instead of looking for light levels between 30% and 70%, it looks for light levels below 30% or above 70%