Aantioch_Infernum/_module/nss/golemrentfee.nss

17 lines
268 B
Plaintext
Raw Permalink Normal View History

void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Get PC's HD.
int nGold = GetHitDice(oPC) * 500;
{
// Take oPC level * 500 gold from the PC.
TakeGoldFromCreature(nGold, oPC, TRUE);
}
}