Code: Select all
/* Disable all blocking animations */
{ D2Dll_kD2Game, 0x2F60C, kPatchNop, 0, 0x2F624 - 0x2F60C },
{ D2Dll_kD2Game, 0x923C9, kPatchNop, 0, 0x923E5 - 0x923C9 },
Code: Select all
//D2Game.0x6FC5F4E0
void __fastcall MISSMODE_SetDamageFlags
Code: Select all
//D2Game.0x6FD10140
void __fastcall sub_6FD10140
This is the code part that was removed (similar one in the other function):
Code: Select all
if (nBlockFlags & 8)
{
pDamage->wResultFlags |= DAMAGERESULTFLAG_EVADE;
}
if (nBlockFlags & 2)
{
pDamage->wResultFlags |= DAMAGERESULTFLAG_AVOID;
}
if (nBlockFlags & 0x11)
{
pDamage->wResultFlags |= DAMAGERESULTFLAG_BLOCK;
}
It was long since I looked at it, I'm not sure if it removed shield blocking animation from monsters also. There is probably a better patch for it, but this one is very simple to apply.