From 0974ee5bec53dd0c2ab118941e68a595d8a06256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aluerie=E2=9D=A4?= Date: Sat, 23 Mar 2024 20:19:30 +0300 Subject: [PATCH] Update animation logic --- ShiftArt/ForRelease/dinput8.dll | Bin 383488 -> 383488 bytes ShiftArt/Functions/Functions.cpp | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ShiftArt/ForRelease/dinput8.dll b/ShiftArt/ForRelease/dinput8.dll index d4cf4639713fa1888660398522a21762482356c1..b00ab54773af2788d1505fb5400648c2dacc4c49 100644 GIT binary patch delta 143 zcmZqJBHpk?e1iZZ(<0txA;#@OjEu`{*|sn;Fff+1@3UhBVkRJF-oDR{CGC>cBHsV0 z3_!pH#PJ}8Au9ueED!?$OpXW076IY}pj-l6ZhD*`s}#_Z?Nx%TUEG58pZ74_O&9W- TRORqPa#svH({@o=*4KLg=kX(* delta 143 zcmZqJBHpk?e1iZZlLd3L5aV_sM#g2fY)=?~ptOCT9U~Ak0WtITeReEqm#i$9|EGfF zn1DDQ#4u!KV2}l3Ab`p70NElyoB)(dfXhvf6J(VFTC%-LkhP0juxrjGruZkX{Q9hW R#C$tNSF&#xm1TXs2LM?^A-Mnm diff --git a/ShiftArt/Functions/Functions.cpp b/ShiftArt/Functions/Functions.cpp index e2c6557..f2da6e0 100644 --- a/ShiftArt/Functions/Functions.cpp +++ b/ShiftArt/Functions/Functions.cpp @@ -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; }