Consider Shield spell effect for creature armor rating

deque
scrawl 11 years ago
parent 691ba02115
commit 5bbf07976f

@ -637,8 +637,7 @@ namespace MWClass
float Creature::getArmorRating (const MWWorld::Ptr& ptr) const float Creature::getArmorRating (const MWWorld::Ptr& ptr) const
{ {
/// \todo add Shield magic effect magnitude here, controlled by a GMST (Vanilla vs MCP behaviour) return getCreatureStats(ptr).getMagicEffects().get(ESM::MagicEffect::Shield).mMagnitude;
return 0.f;
} }
float Creature::getCapacity (const MWWorld::Ptr& ptr) const float Creature::getCapacity (const MWWorld::Ptr& ptr) const

Loading…
Cancel
Save