Page 1 of 1

[svn2506] Party member death argument mix-up

Posted: Wed Jan 26, 2011 6:47 am
by yufra
I first noticed this when using the Yeek's racial talent with a Cursed and noticing no hate gain when the dominated creature dies. After a bit of step-by-step debugging (thank you remdebug!) I found what appears to be a simple bug in mod.class.PartyMember:die. It currently reads:

Code: Select all

	return self:onPartyDeath(self, src)
... and I think it should read (currently passing two self objects, and discarding the src object):

Code: Select all

	return self:onPartyDeath(src)
EDIT: I can confirm changing this fixes the hate gain... not sure if it breaks other things, though.

EDIT2: Oh, and I bet this is is why the nice new death tooltip on the web character dumps shows the player as being the source of death.

Re: [svn2506] Party member death argument mix-up

Posted: Sat Jan 29, 2011 4:15 pm
by darkgod
fixed