PDA

View Full Version : Minor bug fix for agnostics


greggg230
06-13-2008, 05:49 AM
Faction bonuses (or penalties) to agnostic characters do not show up appropriately when you /consider. However, the MOBs will still aggro, or not aggro, appropriately.

It took me awhile to track down the reason. I don't know why this is, but basically the consider code passes an agnostic's deity as 396 while the aggro code passes it as 140. The faction calculating program doesn't recognize 396, but it does recognize 140. This is easy to to fix. You just need to change the following in ZoneDatabase::GetFactionData in zone/faction.cpp:


if (deity_mod == 140)
modd_tmp = 0;


to


if(deity_mod == 140 || deity_mod == 396)
modd_tmp = 0;


I tested it out and it works fine.

Scorpious2k
06-18-2008, 05:59 PM
Faction bonuses (or penalties) to agnostic characters do not show up appropriately when you /consider. However, the MOBs will still aggro, or not aggro, appropriately.

This will be in version 1113.