Code: Select all
D2Game.ED5A
6FC2ED5A |. 83F8 21 CMP EAX,21 ; change this value to your desired chance
Moderators: Nefarius, Havvoric
Code: Select all
D2Game.ED5A
6FC2ED5A |. 83F8 21 CMP EAX,21 ; change this value to your desired chance
Code: Select all
/*
Function: ITEMS_RollSocketed
Address: D2Game.0x0EC90
Notes:
*/
void __fastcall ITEMS_RollSocketed(Game* pGame, Item* pItemArgs, Unit* pItem)
Code: Select all
__declspec (naked) void __fastcall STUB_RollSocketedItem()
{
__asm
{
push edi
push ebx
push ecx
mov ecx, [esp+0x10]
mov edx, ebx
call ITEMS_RollSocketed
pop ebx
pop edi
retn 0x04
}
}