Files
HeroesStone_PRC8/_module/nss/de1_ab_str.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

16 lines
458 B
Plaintext

/////////////////////////////////////
// Dragon's Edge
// by Charly Carlos
/////////////////////////////////////
// Checks if the PC's strength is greater than or equal to the NPC's.
/////////////////////////////////////
int StartingConditional()
{
int iResult;
int nNPCSTR = GetAbilityScore(OBJECT_SELF, ABILITY_STRENGTH);
int nPCSTR = GetAbilityScore(GetPCSpeaker(), ABILITY_STRENGTH);
iResult = (nPCSTR >= nNPCSTR);
return iResult;
}