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

20 lines
572 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName sf_donateamount
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/11/2002 1:36:16 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
int oHD = GetHitDice(GetPCSpeaker());
object oPC = GetPCSpeaker();
int sfcost;
if (oHD<11)
sfcost=oHD*oHD*oHD*25;
else
sfcost=oHD*oHD*250;
SetCustomToken(6000,IntToString(sfcost));
return TRUE;
}