Skip to content

Commit

Permalink
Update animation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Aluerie committed Mar 23, 2024
1 parent 6fafca3 commit 0974ee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified ShiftArt/ForRelease/dinput8.dll
Binary file not shown.
5 changes: 3 additions & 2 deletions ShiftArt/Functions/Functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,9 @@ bool attemptEquip(DWORD realID) {
return true;
}

int animation5 = *(int *)(actionRequestModule + 0xe4); // BLOCK ANIMATION
int force = (realID != 5000) || animation5;
// int animation5 = *(int *)(actionRequestModule + 0xe4); // idk?
int animation4 = *(int *)(actionRequestModule + 0x1B4); // idk?
int force = ((realID != 5000) || (animation4 == 1));
bool success = EquipItem(COMBAT_ART_SLOT, (__int64)&icon, force);
return success;
}
Expand Down

0 comments on commit 0974ee5

Please sign in to comment.