mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 11:39:44 +00:00
Merge branch 'training' into 'master'
Use modified value for governing attribute training limit (#7742) Closes #7742 See merge request OpenMW/openmw!3692
This commit is contained in:
commit
dcb403c114
2 changed files with 2 additions and 1 deletions
|
@ -114,6 +114,7 @@
|
||||||
Bug #7712: Casting doesn't support spells and enchantments with no effects
|
Bug #7712: Casting doesn't support spells and enchantments with no effects
|
||||||
Bug #7723: Assaulting vampires and werewolves shouldn't be a crime
|
Bug #7723: Assaulting vampires and werewolves shouldn't be a crime
|
||||||
Bug #7724: Guards don't help vs werewolves
|
Bug #7724: Guards don't help vs werewolves
|
||||||
|
Bug #7742: Governing attribute training limit should use the modified attribute
|
||||||
Feature #3537: Shader-based water ripples
|
Feature #3537: Shader-based water ripples
|
||||||
Feature #5173: Support for NiFogProperty
|
Feature #5173: Support for NiFogProperty
|
||||||
Feature #5492: Let rain and snow collide with statics
|
Feature #5492: Let rain and snow collide with statics
|
||||||
|
|
|
@ -167,7 +167,7 @@ namespace MWGui
|
||||||
|
|
||||||
// You can not train a skill above its governing attribute
|
// You can not train a skill above its governing attribute
|
||||||
if (pcStats.getSkill(skill->mId).getBase()
|
if (pcStats.getSkill(skill->mId).getBase()
|
||||||
>= pcStats.getAttribute(ESM::Attribute::indexToRefId(skill->mData.mAttribute)).getBase())
|
>= pcStats.getAttribute(ESM::Attribute::indexToRefId(skill->mData.mAttribute)).getModified())
|
||||||
{
|
{
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox("#{sNotifyMessage17}");
|
MWBase::Environment::get().getWindowManager()->messageBox("#{sNotifyMessage17}");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue