Rain and Snow Conditional Stat Affecter - KonradHeinser/EBSGFramework GitHub Wiki
This gene conditional stat affecter causes stat changes when the rain and/or snow rates are within certain levels:
<conditionalStatAffecters>
<li Class="EBSGFramework.ConditionalStatAffecter_RainSnowRate">
<label>label</label>
<statFactors>
</statFactors>
<statOffsets>
</statOffsets>
<checkRoof>True</checkRoof>
<rainRate>0~9999</rainRate>
<snowRate>0~9999</snowRate>
<defaultActive>False</defaultActive>
</li>
</conditionalStatAffecters>
- label : A label to override the default. The default is generic, so it is recommended to include this
- checkRoof : Default (True) : While True, if the pawn is under a roof then they always pass maximum rain/snow rate checks, and automatically fail minimum checks
- rainRate : Default (0~9999) : The rain rate of the map's active WeatherDef must be in this range
- snowRate : Default (0~9999) : The snow rate of the map's active WeatherDef must be in this range
- defaultActive : Default (False) : If the pawn isn't spawned or in a map (or the map doesn't have a weather manager for some reason), this determines whether to apply the stat changes or not