This commit is contained in:
Joaquin
2022-06-19 02:21:15 -06:00
parent a2cc95089e
commit 3f8c3c8252
3 changed files with 21 additions and 160 deletions

View File

@ -88,9 +88,8 @@ namespace cheat::feature
{
auto& gm = GodMode::GetInstance();
auto& manager = game::EntityManager::instance();
if (gm.f_AltGodMode)
if (manager.avatar()->runtimeID() == attackeeRuntimeID)
return;
if (gm.f_AltGodMode && manager.avatar()->runtimeID() == attackeeRuntimeID)
return;
CALL_ORIGIN(LCBaseCombat_FireBeingHitEvent_Hook, __this, attackeeRuntimeID, attackResult, method);
}