mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-09 21:44:54 +00:00
Uncap Drain effects again (bug #7573)
This commit is contained in:
parent
bcc3365766
commit
0f2e5f9db6
@ -71,6 +71,7 @@
|
|||||||
Bug #7505: Distant terrain does not support sample size greater than cell size
|
Bug #7505: Distant terrain does not support sample size greater than cell size
|
||||||
Bug #7553: Faction reaction loading is incorrect
|
Bug #7553: Faction reaction loading is incorrect
|
||||||
Bug #7557: Terrain::ChunkManager::createChunk is called twice for the same position, lod on initial loading
|
Bug #7557: Terrain::ChunkManager::createChunk is called twice for the same position, lod on initial loading
|
||||||
|
Bug #7573: Drain Fatigue can't bring fatigue below zero by default
|
||||||
Feature #3537: Shader-based water ripples
|
Feature #3537: Shader-based water ripples
|
||||||
Feature #5492: Let rain and snow collide with statics
|
Feature #5492: Let rain and snow collide with statics
|
||||||
Feature #6149: Dehardcode Lua API_REVISION
|
Feature #6149: Dehardcode Lua API_REVISION
|
||||||
|
@ -717,8 +717,8 @@ namespace MWMechanics
|
|||||||
if (!godmode)
|
if (!godmode)
|
||||||
{
|
{
|
||||||
int index = effect.mEffectId - ESM::MagicEffect::DrainHealth;
|
int index = effect.mEffectId - ESM::MagicEffect::DrainHealth;
|
||||||
adjustDynamicStat(
|
// Unlike Absorb and Damage effects Drain effects can bring stats below zero
|
||||||
target, index, -effect.mMagnitude, Settings::game().mUncappedDamageFatigue && index == 2);
|
adjustDynamicStat(target, index, -effect.mMagnitude, true);
|
||||||
if (index == 0)
|
if (index == 0)
|
||||||
receivedMagicDamage = affectedHealth = true;
|
receivedMagicDamage = affectedHealth = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user