forked from teamnwah/openmw-tes3coop
Issue #407: Fortyfy attribute effects were ignored for the last 3 attributes
This commit is contained in:
parent
18686614db
commit
3f833af46a
1 changed files with 1 additions and 5 deletions
|
@ -118,18 +118,14 @@ namespace MWMechanics
|
|||
+ fRestMagicMult * stats.getAttribute(ESM::Attribute::Intelligence).getModified ());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
void Actors::calculateCreatureStatModifiers (const MWWorld::Ptr& ptr)
|
||||
{
|
||||
CreatureStats& creatureStats = MWWorld::Class::get (ptr).getCreatureStats (ptr);
|
||||
|
||||
// attributes
|
||||
for (int i=0; i<5; ++i)
|
||||
for (int i=0; i<8; ++i)
|
||||
{
|
||||
int modifier =
|
||||
creatureStats.getMagicEffects().get (EffectKey (79, i)).mMagnitude;
|
||||
|
|
Loading…
Reference in a new issue