generated from Jaysyn/ModuleTemplate
16 lines
458 B
Plaintext
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;
|
|
}
|