Files
HeroesStone_PRC8/_module/nss/gh_poker_raise_2.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

16 lines
449 B
Plaintext

/*
Simple Poker game. 5 card draw.
By: Joe Leonard
Email: aiden_00@yahoo.com
Created: 10-10-02
*/
void main()
{
//Adds minimum bet to pot.
//If pot is 10, adds players bet, plus calls for the dealers.
TakeGoldFromCreature(GetLocalInt(OBJECT_SELF, "MINIMUM_BET"), GetPCSpeaker(), FALSE);
SetLocalInt(OBJECT_SELF, "MONEY_POT", GetLocalInt(OBJECT_SELF, "MONEY_POT") + (GetLocalInt(OBJECT_SELF, "MINIMUM_BET") * 2));
}