mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
The number of skills points a trainer can teach is based either on its base
values or on its modified ones depending on the new setting 'trainers training skills based on base skill' value
This commit is contained in:
parent
281cef9769
commit
1aa4f6bf96
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ namespace MWGui
|
|||
if (price > player.getClass().getContainerStore(player).count(MWWorld::ContainerStore::sGoldId))
|
||||
return;
|
||||
|
||||
if (mPtr.getClass().getSkill(mPtr, skillId) <= pcStats.getSkill (skillId).getBase ())
|
||||
if (getSkillForTraining(mPtr.getClass().getNpcStats(mPtr), skillId) <= pcStats.getSkill(skillId).getBase())
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->messageBox ("#{sServiceTrainingWords}");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue