Increased surrender chance.
This commit is contained in:
parent
71bff998ca
commit
4092ae6a10
|
@ -601,7 +601,7 @@ static int isSurrendering(void)
|
||||||
{
|
{
|
||||||
chance = self->health;
|
chance = self->health;
|
||||||
chance /= self->maxHealth;
|
chance /= self->maxHealth;
|
||||||
chance *= 100;
|
chance *= 75;
|
||||||
|
|
||||||
if (rand() % 100 > chance)
|
if (rand() % 100 > chance)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue