@@ -19,7 +19,9 @@ fn nro_hook(info: &skyline::nro::NroInfo) {
19
19
status_AttackHi4Start_Main,
20
20
//status_AttackHi4Start_Common,
21
21
status_AttackLw4Start_Main,
22
+ bind_address_call_status_end_attackhi4start,
22
23
status_end_AttackHi4Start,
24
+ bind_address_call_status_end_attacklw4start,
23
25
status_end_AttackLw4Start,
24
26
) ;
25
27
}
@@ -117,6 +119,11 @@ unsafe fn status_AttackHi4Start_Common(fighter: &mut L2CFighterCommon, motion: L
117
119
fighter. sub_shift_status_main ( L2CValue :: Ptr ( L2CFighterCommon_bind_address_call_status_AttackHi4Start_Main as * const ( ) as _ ) ) ;
118
120
}
119
121
122
+ #[ skyline:: hook( replace = L2CFighterCommon_bind_address_call_status_end_AttackHi4Start ) ]
123
+ unsafe extern "C" fn bind_address_call_status_end_attackhi4start ( fighter : & mut L2CFighterCommon , _agent : & mut L2CAgent ) -> L2CValue {
124
+ fighter. status_end_AttackHi4Start ( )
125
+ }
126
+
120
127
#[ skyline:: hook( replace = L2CFighterCommon_status_end_AttackHi4Start ) ]
121
128
unsafe fn status_end_AttackHi4Start ( fighter : & mut L2CFighterCommon ) -> L2CValue {
122
129
VarModule :: off_flag ( fighter. battle_object , vars:: common:: instance:: IS_DACUS ) ;
@@ -207,6 +214,11 @@ unsafe fn status_AttackLw4Start_Main(fighter: &mut L2CFighterCommon) -> L2CValue
207
214
return 0 . into ( )
208
215
}
209
216
217
+ #[ skyline:: hook( replace = L2CFighterCommon_bind_address_call_status_end_AttackLw4Start ) ]
218
+ unsafe extern "C" fn bind_address_call_status_end_attacklw4start ( fighter : & mut L2CFighterCommon , _agent : & mut L2CAgent ) -> L2CValue {
219
+ fighter. status_end_AttackLw4Start ( )
220
+ }
221
+
210
222
#[ skyline:: hook( replace = L2CFighterCommon_status_end_AttackLw4Start ) ]
211
223
unsafe fn status_end_AttackLw4Start ( fighter : & mut L2CFighterCommon ) -> L2CValue {
212
224
VarModule :: off_flag ( fighter. battle_object , vars:: common:: instance:: IS_DACUS ) ;
0 commit comments