mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-06-08 10:39:35 +08:00
always anti-afk
This commit is contained in:
parent
31043114f0
commit
1136c1d430
@ -80,6 +80,8 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
|
||||
|
||||
if (*(__int8*)((unsigned __int32)Local_Player + 327) == 0)
|
||||
{
|
||||
Command->Buttons |= 4194304 * (Command->Command_Number % 2);
|
||||
|
||||
float Move_Angles[3] =
|
||||
{
|
||||
Command->Angles[0],
|
||||
@ -300,8 +302,6 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
|
||||
if ((*(float*)((unsigned __int32)Local_Player + 4604) + 800.f * Global_Variables->Interval_Per_Tick >= 560.f) + *(__int8*)((unsigned __int32)Local_Player + 8068) + *(__int8*)((unsigned __int32)Local_Player + 9708) != 0)
|
||||
{
|
||||
Sequence_Shift(2);
|
||||
|
||||
Command->Buttons |= 4194304;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -290,7 +290,7 @@ void __thiscall Perform_Trace(void* Stack)
|
||||
{
|
||||
if (__builtin_strstr(Get_Sequence_Name(Entity), "limb") != nullptr)
|
||||
{
|
||||
Damage = std::clamp(Damage, 0.f, *(__int32*)((unsigned __int32)Entity + 236) - 1.f);
|
||||
Damage = min(Damage, *(__int32*)((unsigned __int32)Entity + 236) - 1.f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user