[1.10] Reanimate as: <monster> offset help

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
User avatar
Ogodei
Senior Moderator
Champion of the Light
Posts: 473
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

[1.10] Reanimate as: <monster> offset help

Post by Ogodei » Fri Jul 08, 2016 2:39 pm

Hello,

I would like to ask if someone is able to tell me the offsets I need to search for editing the lifetime of monsters that get reanimated by items (i.e Faith runeword which occasionally revives Returned skeletons).
P.S. I tried to scan the forum for a 1.10 table or so in this matter, but found none :|

Thanks a lot in advance!

User avatar
Necrolis
Site Admin
Throne
Posts: 9017
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: [1.10] Reanimate as: <monster> offset help

Post by Necrolis » Fri Jul 08, 2016 2:50 pm

Code: Select all

/* 
	Date: Wed Apr 07 11:13:13 2010
	Author: Necrolis
	Function: ITEMEVENT_Revive
	Address: D2Game.0x6FD05780
	Comments: removed the DelayThink call as it was totally unneeded
*/

BOOL __fastcall ITEMEVENT_Revive(D2GameStrc* pGame, int nEvent, D2UnitStrc* pSource, D2UnitStrc* pTarget, D2DamageStrc* pDamage, DWORD dwStat, DWORD dwArg)
Look for the constant of 1500 in that function and change that to however many frames you want them to live for (25 frames in a second).
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal


Post Reply

Return to “Code Editing”