Difference between revisions of "Talk:WillIntimidateSucceed - Actor"
Jump to navigation
Jump to search
m
Talk:WillIntimidateSucceed - Actor (edit)
Revision as of 08:04, 7 August 2018
, 08:04, 7 August 2018correction
imported>DavidJCobb (disassembly) |
imported>DavidJCobb m (correction) |
||
Line 21: | Line 21: | ||
float speechTarget = this->actorValueOwner.GetCurrent(0x11); | float speechTarget = this->actorValueOwner.GetCurrent(0x11); | ||
float a = (speechPlayer - speechTarget) / 100.0; | float a = (speechPlayer - speechTarget) / 100.0; | ||
float | float c = pow(1.0 + max(-1.0, a), GMST:fIntimidateSpeechcraftCurve); | ||
SInt16 levelDataPlayer = (*g_thePlayer)->baseForm->actorData.TESV_0044D4D0(); | SInt16 levelDataPlayer = (*g_thePlayer)->baseForm->actorData.TESV_0044D4D0(); | ||
SInt32 levelDataTarget = this->baseForm->actorData.TESV_0044D4D0(); | SInt32 levelDataTarget = this->baseForm->actorData.TESV_0044D4D0(); |