Jump to content

Looking for better eStat explanations.


mccordrm

Recommended Posts

  • Replies 49
  • Created
  • Last Reply

Top Posters In This Topic

Well, it looks like the eStat_Strength is used in calculating the chance to take an impairing effect on melee hit

 

In X2AbilityStunLancer.uc

static function X2DataTemplate CreateStunLancerImpairingEffectAbility()
{
...
    // This will be a stat contest
    StatContest = new class'X2AbilityToHitCalc_StatCheck_UnitVsUnit';
    StatContest.AttackerStat = eStat_Strength;
    Template.AbilityToHitCalc = StatContest;
...
} 

While investigating, I found the armor chance code, which is exactly as I stated, just a percent to mitigate from 0-100%(weird idea, but works).

 

eStat_AlertLevel -- according to X2Condition_AlertStatus.uc

// FILE: X2Condition_AlertStatus.uc
// AUTHOR: Ryan McFall -- 1/11/2014
// PURPOSE: Defines the abilities that form the concealment / alertness mechanics in
// X-Com 2. Presently these abilities are only available to the AI. 

Have not looked into what its used for, but it looks like its AI only.

 

I am still digging around through the code, just learning what everything is/does.

Edited by traenol
Link to comment
Share on other sites

For strength, do you mean it affects the chance to impart a status condition on a target, or the chance to resist one?

I didn't dig through the code, but the relevant part that I was looking at was for the lancer, it is in X2Ability_StunLancer.uc

 

Wow i totally missed that thread, i have dealt with this a lot really and i have a lot of data on them but it seems like you already know it all

Feel free to add anything we might have missed or gotten wrong :wink:

Edited by traenol
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...