[Change] It should be easiar to lose a faction than it is to gain it.

This commit is contained in:
Allanis 2013-08-10 12:21:15 +01:00
parent afa05f0ff8
commit 515c951078
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ void faction_modPlayer(int f, int mod) {
for(i = 0; i < faction->nenemies; i++) {
enemy = &faction_stack[faction->enemies[i]];
enemy->player -= RNG(0, mod/2);
enemy->player -= MIN(1, RNG(0, mod/2));
faction_sanitizePlayer(enemy);
}

View File

@ -301,7 +301,7 @@ void pilot_hit(Pilot* p, const Solid* w, const unsigned int shooter,
pilot_dead(p);
/* Adjust the combat rating based on pilot mass and ditto faction. */
if(shooter == PLAYER_ID) {
mod = (int)sqrt(p->ship->mass/25.);
mod = MIN(1, (int)sqrt(p->ship->mass/25.));
player_crating += MAX(1, mod);
faction_modPlayer(p->faction, -mod);
}