EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   Minor bug fix for agnostics (https://www.eqemulator.org/forums/showthread.php?t=25453)

greggg230 06-13-2008 05:49 AM

Minor bug fix for agnostics
 
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:

Code:

if (deity_mod == 140)
        modd_tmp = 0;

to

Code:

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

Quote:

Originally Posted by greggg230 (Post 150547)
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.


All times are GMT -4. The time now is 03:46 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.