fix somehow battle target from pf appear on other mode

surely not because i forgot to make battle target of pf to pf only 💀
This commit is contained in:
Keirakoro 2024-11-06 03:32:58 +07:00 committed by GitHub
parent 704d3fda38
commit a46f2307f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,7 +221,7 @@ async fn create_battle_info(caster_id: u32, skill_index: u32) -> SceneBattleInfo
.battle_target_info
.insert(i, BattleTargetList::default());
}
if player.battle_config.battle_type == BattleType::PF {
battle_info.battle_target_info.insert(
5,
BattleTargetList {
@ -239,7 +239,7 @@ async fn create_battle_info(caster_id: u32, skill_index: u32) -> SceneBattleInfo
],
},
);
}
// Apocalyptic Shadow
if player.battle_config.battle_type == BattleType::AS {
battle_info.battle_target_info.insert(