mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-07-18 09:27:56 +08:00
fast actions, fix versus crash
"immobilized" attacks in versus are also considered as action
This commit is contained in:
@ -13,10 +13,13 @@ void __thiscall Redirected_Process_Movement(void* Unknown_Parameter, void* Playe
|
||||
|
||||
(decltype(&Redirected_Process_Movement)(Original_Process_Movement_Caller))(Unknown_Parameter, Player, Move_Data);
|
||||
|
||||
void* Ability = *(void**)((unsigned __int32)Client_Module + 7644532 + (((*(unsigned __int32*)((unsigned __int32)Player + 7892) & 4095) - 4097) << 4));
|
||||
|
||||
if (Ability != nullptr)
|
||||
if (Get_Identifier(Player, 0, 0) == 272)
|
||||
{
|
||||
*(float*)((unsigned __int32)Ability + 1636) = 0.f;
|
||||
void* Ability = *(void**)((unsigned __int32)Client_Module + 7644532 + (((*(unsigned __int32*)((unsigned __int32)Player + 7892) & 4095) - 4097) << 4));
|
||||
|
||||
if (Ability != nullptr)
|
||||
{
|
||||
*(float*)((unsigned __int32)Ability + 1636) = 0.f;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user