@ -1057,7 +1057,7 @@ namespace MWMechanics
Start of tes3mp change ( major )
Start of tes3mp change ( major )
Make spell casting fail based on the attack success rated determined
Make spell casting fail based on the attack success rated determined
in LocalPlayer and LocalActor ' s updateAttack ( )
in LocalPlayer and LocalActor ' s updateAttack OrCast ( )
*/
*/
mwmp : : Cast * localCast = NULL ;
mwmp : : Cast * localCast = NULL ;
mwmp : : Cast * dedicatedCast = MechanicsHelper : : getDedicatedCast ( mCaster ) ;
mwmp : : Cast * dedicatedCast = MechanicsHelper : : getDedicatedCast ( mCaster ) ;
@ -1065,7 +1065,10 @@ namespace MWMechanics
if ( dedicatedCast )
if ( dedicatedCast )
dedicatedCast - > pressed = false ;
dedicatedCast - > pressed = false ;
else
else
{
localCast = MechanicsHelper : : getLocalCast ( mCaster ) ;
localCast = MechanicsHelper : : getLocalCast ( mCaster ) ;
localCast - > success = MechanicsHelper : : getSpellSuccess ( mId , mCaster ) ;
}
// Check success
// Check success
if ( ( localCast & & localCast - > success = = false ) | |
if ( ( localCast & & localCast - > success = = false ) | |