mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:53:52 +00:00
tradding skill use, spechcraft use
This commit is contained in:
parent
2d62649dc9
commit
e50b9aca86
1 changed files with 2 additions and 2 deletions
|
@ -461,9 +461,9 @@ namespace MWDialogue
|
|||
}
|
||||
|
||||
if (skillincrease){
|
||||
// practice skill, it doesn't need to be a success to use skill
|
||||
// practice skill
|
||||
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();
|
||||
MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, 0);
|
||||
MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, -1);
|
||||
}
|
||||
|
||||
text += (success ? "Success" : "Fail");
|
||||
|
|
Loading…
Reference in a new issue