This commit is contained in:
Joaquin 2022-06-19 02:21:15 -06:00
parent 17b2fe65da
commit 0ab19849bf

View File

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