From 137db6000064d3c176fe0ed1bfaa589b1757b421 Mon Sep 17 00:00:00 2001 From: yuvlian <51725554+yuvlian@users.noreply.github.com> Date: Fri, 1 May 2026 13:08:49 +0700 Subject: [PATCH] remove debugging & add note for dahlia's hardcode --- gameserver/src/net/handlers/battle.rs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gameserver/src/net/handlers/battle.rs b/gameserver/src/net/handlers/battle.rs index a89941c..321659e 100644 --- a/gameserver/src/net/handlers/battle.rs +++ b/gameserver/src/net/handlers/battle.rs @@ -191,6 +191,12 @@ async fn create_battle_info( 0 }; + // NOTE: this still doesnt work sometimes. + // example case of it not working: sparxie in 1st slot and there's fugue with a higher break effect + // however, it does work if you have like Arlan and then there's no other lightning character + // tldr: + // - same element with diff slot and that diff slot has higher BE -> hardcode no work + // - 1st slot's element count = 1 even with lower break effect dance partner will go there let len = battle_info.buff_list.len(); let mut has_replaced = false; let mut dahlia_buffs = Vec::new(); @@ -466,13 +472,5 @@ async fn create_battle_info( }); } - if has_dahlia { - tracing::info!("DAHLIA FOUND!!!"); - tracing::info!("BUFF LIST----------"); - for buff in &battle_info.buff_list { - tracing::info!("{}", buff.id); - } - } - battle_info }