|
|
|
@ -63,7 +63,7 @@ namespace MWMechanics
|
|
|
|
|
const MWWorld::Ptr& player = getPlayer();
|
|
|
|
|
MWWorld::ContainerStore& store = player.getClass().getContainerStore(player);
|
|
|
|
|
ESM::Enchantment enchantment;
|
|
|
|
|
enchantment.mData.mAutocalc = 0;
|
|
|
|
|
enchantment.mData.mFlags = 0;
|
|
|
|
|
enchantment.mData.mType = mCastStyle;
|
|
|
|
|
enchantment.mData.mCost = getBaseCastCost();
|
|
|
|
|
|
|
|
|
@ -219,7 +219,7 @@ namespace MWMechanics
|
|
|
|
|
if (iter->mEffects.mList.size() != toFind.mEffects.mList.size())
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
if (iter->mData.mAutocalc != toFind.mData.mAutocalc
|
|
|
|
|
if (iter->mData.mFlags != toFind.mData.mFlags
|
|
|
|
|
|| iter->mData.mType != toFind.mData.mType
|
|
|
|
|
|| iter->mData.mCost != toFind.mData.mCost
|
|
|
|
|
|| iter->mData.mCharge != toFind.mData.mCharge)
|
|
|
|
|