[svn2506] Party member death argument mix-up

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

[svn2506] Party member death argument mix-up

#1 Post 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.
<DarkGod> lets say it's intended

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

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

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply