From 92de6fb148f0bbabf22f426b2e054207b158be3d Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Mon, 29 Aug 2022 22:19:26 -0600 Subject: [PATCH] Fixed #578, Fixed #510 --- README.md | 2 +- cheat-library/src/user/cheat/player/RapidFire.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1a3c4cf..f7da38b 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ As well as setting up **`cheat-library`** as startup project. - Open Team Immediately - Dumb Enemies - Freeze Enemies -- Auto Destroy: Ores/Shields/Doodas/Plants +- Auto Destroy: Ores/Shields/Doodads/Plants - Auto Loot/Open Chests - Pickup Range - Auto Talk diff --git a/cheat-library/src/user/cheat/player/RapidFire.cpp b/cheat-library/src/user/cheat/player/RapidFire.cpp index 455a42f..ea78ca7 100644 --- a/cheat-library/src/user/cheat/player/RapidFire.cpp +++ b/cheat-library/src/user/cheat/player/RapidFire.cpp @@ -268,9 +268,8 @@ namespace cheat::feature for (int i = 0; i < attackCount; i++) app::MoleMole_LCBaseCombat_FireBeingHitEvent(__this, entity->runtimeID(), attackResult, method); } + else CALL_ORIGIN(LCBaseCombat_DoHitEntity_Hook, __this, entity->runtimeID(), attackResult, ignoreCheckCanBeHitInMP, method); } - - CALL_ORIGIN(LCBaseCombat_DoHitEntity_Hook, __this, targetID, attackResult, ignoreCheckCanBeHitInMP, method); } static void VCAnimatorEvent_HandleProcessItem_Hook(app::MoleMole_VCAnimatorEvent* __this,