poker rake lessened to 2%

This commit is contained in:
Lorenc 2018-03-30 22:39:53 +11:00
parent d1cc4dc315
commit 487dcdcbd2
2 changed files with 3 additions and 1 deletions

View File

@ -242,6 +242,7 @@ stock StartMatch( playerid, targetID ) {
new Float:health_P, Float:armour_P, Float:health_T, Float:armour_T; new Float:health_P, Float:armour_P, Float:health_T, Float:armour_T;
ClearAnimations( playerid );
GetPlayerHealth( playerid, health_P ); GetPlayerHealth( playerid, health_P );
GetPlayerArmour( playerid, armour_P ); GetPlayerArmour( playerid, armour_P );
g_boxingPlayerData[ playerid ] [ E_PRIOR_HEALTH ] = health_P; g_boxingPlayerData[ playerid ] [ E_PRIOR_HEALTH ] = health_P;
@ -249,6 +250,7 @@ stock StartMatch( playerid, targetID ) {
g_boxingPlayerData[ playerid ] [ E_PRIOR_SKIN ] = GetPlayerSkin( playerid ); g_boxingPlayerData[ playerid ] [ E_PRIOR_SKIN ] = GetPlayerSkin( playerid );
SetPlayerSkin( playerid, 81 ); SetPlayerSkin( playerid, 81 );
ClearAnimations( targetID );
GetPlayerHealth( targetID, health_T ); GetPlayerHealth( targetID, health_T );
GetPlayerArmour( targetID, armour_T ); GetPlayerArmour( targetID, armour_T );
g_boxingPlayerData[ targetID ] [ E_PRIOR_HEALTH ] = health_T; g_boxingPlayerData[ targetID ] [ E_PRIOR_HEALTH ] = health_T;

View File

@ -79,7 +79,7 @@ stock ShowPlayerDialogEx(playerid, dialogid, style, caption[], button1[], button
//Max number the chips can express 10^(MAX_CHIP_DIGITS) - 1 //Max number the chips can express 10^(MAX_CHIP_DIGITS) - 1
#define MAX_CHIP_DIGITS 7 #define MAX_CHIP_DIGITS 7
#define T_TABLE_TICK_INTERVAL 500 //(in ms) half a second #define T_TABLE_TICK_INTERVAL 500 //(in ms) half a second
#define T_POT_FEE_RATE 0.04 #define T_POT_FEE_RATE 0.02
//Layout and design //Layout and design