From aabf02da864dee3cc6f783aa88447388d0a64c83 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Mon, 23 Jan 2023 22:03:34 +0100 Subject: [PATCH] buff combo xp multiplier, nerf judgement magic --- src/aoe.c | 2 +- src/game.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aoe.c b/src/aoe.c index 05b4a91..dd94af7 100644 --- a/src/aoe.c +++ b/src/aoe.c @@ -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 */ diff --git a/src/game.c b/src/game.c index ae7add9..26618f7 100644 --- a/src/game.c +++ b/src/game.c @@ -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);