Jump to content

[Help] Making all races at war with each other


Guest Toriad

Recommended Posts

mangosd.conf.dist.in:

###################################################################################################################
# SERVER SETTINGS
#
#    GameType
#        Server realm style
#        0 = NORMAL;1 = PVP; 4 = NORMAL; 6 = RP; 8 = RPPVP
#       [b] also custom type: 16 FFA_PVP (free for all pvp mode like arena PvP in all zones except rest[/b]
#        [b]activated places and sanctuaries)[/b]
#

Never tried it meself.

Link to comment
Share on other sites

I don't have a clean enough copy of MaNGOS downloaded atm, so I can't post a patch file, but I would open Unit.cpp and find the isHostileTo function.. and underneath..

        // Duel
       if(pTester->duel && pTester->duel->opponent == pTarget && pTester->duel->startTime != 0)
           return true;

add..

        // Race
       if(pTester->getRace() != pTarget->getRace())
           return true;

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use