mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Sleepy rune fix :)
This commit is contained in:
@@ -992,6 +992,10 @@ static inline void MainUI()
|
||||
InitSleepy = true;
|
||||
|
||||
Hooking::MinHook::Hook(SleepyProp, SleepyProp->FindFunction("OnDamageServer"), Calendar::OnDamageServerSleepyHook, (void**)&Calendar::OnDamageServerSleepyOriginal, false, true);
|
||||
int FiveHundred = 500;
|
||||
*SleepyM->GetPtr<int>("MaxHealth") = 500;
|
||||
SleepyM->ProcessEvent(SleepyM->FindFunction("RootSetProgress"), &FiveHundred);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user