Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
Swing Arm before attacking (#4532)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDiamond64 authored Oct 22, 2021
1 parent 88bf415 commit 7b65ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Horion/Module/Modules/Fucker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ void Fucker::onTick(C_GameMode* gm) {
std::string name = ent->getNameTag()->getText();
int id = ent->getEntityTypeId();
if (name.find("Treasure") != std::string::npos && g_Data.getLocalPlayer()->getPos()->dist(*ent->getPos()) <= 5) {
g_Data.getCGameMode()->attack(ent);
g_Data.getLocalPlayer()->swingArm();
g_Data.getCGameMode()->attack(ent);
}
});
}
Expand Down

0 comments on commit 7b65ee5

Please sign in to comment.