buff combo xp multiplier, nerf judgement magic
This commit is contained in:
parent
dd632b6b11
commit
aabf02da86
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue