mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-27 20:34:03 +00:00
Fix random spells being picked for hero (#694)
This commit is contained in:
parent
29f1d5b68e
commit
254578982b
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ pub unsafe fn handle_buffs(
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn buff_hero(module_accessor: &mut app::BattleObjectModuleAccessor, status: i32) -> bool {
|
unsafe fn buff_hero(module_accessor: &mut app::BattleObjectModuleAccessor, status: i32) -> bool {
|
||||||
let buff_vec: Vec<BuffOption> = MENU.buff_state.to_vec();
|
let buff_vec: Vec<BuffOption> = MENU.buff_state.hero_buffs().to_vec();
|
||||||
if !is_buffing(module_accessor) {
|
if !is_buffing(module_accessor) {
|
||||||
// Initial set up for spells
|
// Initial set up for spells
|
||||||
start_buff(module_accessor);
|
start_buff(module_accessor);
|
||||||
|
|
Loading…
Reference in a new issue