Only show "target resists magic" message for spells cast by player

deque
scrawl 11 years ago
parent f67b7dae91
commit 5349699172

@ -379,7 +379,7 @@ namespace MWMechanics
// Fully resisted, show message
if (target.getRefData().getHandle() == "player")
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicPCResisted}");
else
else if (castByPlayer)
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicTargetResisted}");
}
}

Loading…
Cancel
Save