Amon_PRC8/_module/nss/lootgold.nss

10 lines
201 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
// ActionSpeakString("Running lootgold", TALKVOLUME_SHOUT);
int nNum = 1;
int nCash = d20(GetHitDice(OBJECT_SELF) /2);
{
GiveGoldToCreature(OBJECT_SELF, nCash);
}
}