17 lines
268 B
Plaintext
17 lines
268 B
Plaintext
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);
|
|
|
|
}
|
|
}
|
|
|