Skip to content

Commit f15cb81

Browse files
committed
Update specials.rs
1 parent 793793d commit f15cb81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fighters/bayonetta/src/acmd/specials.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ unsafe fn bayonetta_special_s_edge_effect(fighter: &mut L2CAgentBase) {
9393
if is_excute(fighter) {
9494
EFFECT_FOLLOW_NO_STOP(fighter, Hash40::new("bayonetta_heelslide_burst"), Hash40::new("kneer"), 9.5, 0, 0, 0, 90, 0, 1.1, true);
9595
EffectModule::enable_sync_init_pos_last(boma);
96-
if fighter.get_int(*FIGHTER_BAYONETTA_INSTANCE_WORK_ID_INT_COSTUME_KIND) != 2 {LAST_PARTICLE_SET_COLOR(fighter, 0.048, 0.452, 1); }
96+
if WorkModule::get_int(boma, *FIGHTER_BAYONETTA_INSTANCE_WORK_ID_INT_COSTUME_KIND) == 2 {LAST_EFFECT_SET_COLOR(fighter, 1, 0.118, 0.118); }
97+
else {LAST_EFFECT_SET_COLOR(fighter, 0.059, 0.38, 1); }
9798
}
9899
frame(lua_state, 14.0);
99100
if is_excute(fighter) {

0 commit comments

Comments
 (0)