Sleepy rune fix :)

This commit is contained in:
YesseYesseY
2025-07-17 02:08:29 +02:00
parent 9c3d023274
commit 8752228569
3 changed files with 12 additions and 10 deletions

View File

@@ -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);
}
}
}