Moradin: Killing Duergar Lowers Favor

This forum contains bugs which the test team think are fixed are awaiting confirmation from the initial reporter of the bug.
Post Reply
Athon
Sword Grand Master
Sword Grand Master
Posts: 615
Joined: Sat Jun 05, 2004 6:16 am
Location: Tantras

Moradin: Killing Duergar Lowers Favor

Post by Athon » Sat Mar 02, 2013 1:14 am

In all the canon sources I've read, Moradin is opposed to the Duergar and Derro and their gods. Thus, I don't see why a follower of Moradin should be losing favor when killing a Duergar.

Code: Select all

A duergar fighter is DEAD!
You sense that your patron is displeased by your actions.
~Vanguardier Athon, High Priest of Torm~
~Moranall, Fighter of Waterdeep~
Solaghar
Staff
Staff
Posts: 1283
Joined: Sun Nov 16, 2003 8:33 am
Location: Menzoberranzan

Re: Moradin: Killing Duergar Lowers Favor

Post by Solaghar » Sat Mar 02, 2013 9:24 am

Verified on the testport, problem is that the duergar parent is the dwarf race, so it considers duergar to be dwarves. This will be hard to fix, Drow would be considered Elves as well if this is the case. If we don't include parent races then shield dwarves are completely unrelated to dwarf effects from gold dwarves, both of whom would not truly be "dwarves". If we split duergar off, nothing that affects dwarves will affect duergar, which it should. But since duergar aren't a player race, my suggestion would be to split them off and just accept that any effect that affects dwarves won't affect duergar. There's a lot more dwarves killing duergar than there are duergar being affected by dwarf effects caused by weapons, spells or racial enemies.
Nylo
Sword Grand Master
Sword Grand Master
Posts: 447
Joined: Tue Jul 26, 2011 7:15 pm
Location: Ohio, USA

Re: Moradin: Killing Duergar Lowers Favor

Post by Nylo » Sat Mar 02, 2013 9:50 am

I don't know how the favor calculation is coded, but maybe something to the effect of

Code: Select all

if race($npc) == dwarf and race($npc) != duergar
-favor 
else if race($npc) == duergar
+favor
 endif
would work here?
Nylo, Fighter of Tempus
Anver, Transmuter of Garl
Malic, Cleric of Tyr
Luthir, Druid of Mielikki
User avatar
Harroghty
Staff
Staff
Posts: 9695
Joined: Tue Jul 27, 2004 5:38 pm

Re: Moradin: Killing Duergar Lowers Favor

Post by Harroghty » Sat Mar 02, 2013 12:45 pm

I just set kill_npcrace to 0. That fixes the problem in the short term.
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons
Post Reply