mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 01:36:44 +00:00
Only show "target resists magic" message for spells cast by player
This commit is contained in:
parent
f67b7dae91
commit
5349699172
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ namespace MWMechanics
|
||||||
// Fully resisted, show message
|
// Fully resisted, show message
|
||||||
if (target.getRefData().getHandle() == "player")
|
if (target.getRefData().getHandle() == "player")
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicPCResisted}");
|
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicPCResisted}");
|
||||||
else
|
else if (castByPlayer)
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicTargetResisted}");
|
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicTargetResisted}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue