PWE_PRC8/_module/nss/sf_chekgold2.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

22 lines
574 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName sf_chekgold2
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/11/2002 1:41:21 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
object oPC=GetPCSpeaker();
int oHD=GetHitDice(oPC);
int sfcost;
if (oHD<11)
sfcost=oHD*oHD*oHD*25;
else
sfcost=oHD*oHD*250;
if (GetGold(oPC)>=sfcost)
return TRUE;
else
return FALSE;
}