We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c089f commit 1c9714fCopy full SHA for 1c9714f
src/game/scenes/arena.c
@@ -554,9 +554,11 @@ void arena_har_defeat_hook(int player_id, scene *scene) {
554
object_set_sprite_override(round_token, 1);
555
}
556
score->rounds++;
557
+ if(player_winner->ctrl->type != CTRL_TYPE_AI && player_loser->ctrl->type == CTRL_TYPE_AI) {
558
+ chr_score_victory(score, har_health_percent(winner_har));
559
+ }
560
if(score->rounds >= ceilf(local->rounds / 2.0f)) {
561
har_set_ani(winner, ANIM_VICTORY, 0);
- chr_score_victory(score, har_health_percent(winner_har));
562
winner_har->state = STATE_VICTORY;
563
local->over = 1;
564
if(is_singleplayer(gs)) {
0 commit comments