buff combo xp multiplier, nerf judgement magic

This commit is contained in:
Lephenixnoir 2023-01-23 22:03:34 +01:00
parent dd632b6b11
commit aabf02da86
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ static bool attack_apply(game_t *game, aoe_t *aoe, entity_t *target)
}
else if(aoe->type == AOE_JUDGEMENT) {
r = fix(0);
damage = aoe->data.generic.strength * 3;
damage = aoe->data.generic.strength * 5 / 2;
}
else if(aoe->type == AOE_BULLET) {
/* TODO: Sideways knockback */

View File

@ -367,7 +367,7 @@ void game_remove_dead_entities(game_t *g)
if(f && f->HP == 0 && f->enemy != NULL && anim_finished) {
/* Give XP points to player based on combo */
int mult_percent = 100 + min(g->combo, 100);
int mult_percent = 100 + 2 * min(g->combo, 100);
int xp = f->enemy->id->xp * mult_percent / 100;
bool lvup = player_add_xp(g->player, xp);