Aantioch_Infernum/_module/nss/golemgoldtoken.nss

13 lines
223 B
Plaintext
Raw Normal View History

void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Get PC's HD * 500.
int nGold = GetHitDice(oPC) * 500;
{
SetCustomToken(222, (IntToString(nGold)));
}
}