mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:15:31 +00:00
[Client] Don't print unilateral message about targets resisting spells
This commit is contained in:
parent
eb50d3e497
commit
6baee12bc4
1 changed files with 11 additions and 2 deletions
|
@ -187,8 +187,17 @@ namespace MWMechanics
|
|||
// Fully resisted, show message
|
||||
if (target == getPlayer())
|
||||
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicPCResisted}");
|
||||
else if (castByPlayer)
|
||||
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicTargetResisted}");
|
||||
/*
|
||||
Start of tes3mp change (major)
|
||||
|
||||
Don't display messages about whether the target has resisted the local player's spell or not,
|
||||
because this client has no way of knowing here whether that has happened
|
||||
*/
|
||||
//else if (castByPlayer)
|
||||
// MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicTargetResisted}");
|
||||
/*
|
||||
End of tes3mp change (major)
|
||||
*/
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue