fMagicSunBlockedMult - отвечает модификатор урона для заклинания Удар Солнца.
Значение по умолчанию: 0.5
Код из OpenMW:
if current cell is interior only: return 0
if gamehour <= Weather.SunriseTime or gamehour >= Weather.SunsetTime + Weather.SunsetDuration:
sunRisen = 0
elif gamehour <= Weather.SunriseTime + Weather.SunriseDuration:
sunRisen = (gamehour - Weather.SunriseTime) / Weather.SunriseDuration
elif gamehour > Weather.SunsetTime:
sunRisen = 1 - ((gamehour - Weather.SunsetTime) / Weather.SunsetDuration)
else:
sunRisen = 1
# transition is 0 at the start of a weather change and 1.0 at the end
# note that CloudsMaximumPercent is not actually a percentage
if weather is changing and transition < nextWeather.CloudsMaximumPercent:
t = transition / nextWeather.CloudsMaximumPercent
sunVisibility = (1-t) * currentWeather.GlareView + t * nextWeather.GlareView
else:
sunVisibility = currentWeather.GlareView
damageScale = max(sunVisibility * sunRisen, fMagicSunBlockedMult * sunRisen)
damageScale = max(0, min(damage, 1))
return damageScale * spelleffect.magnitude