Jump to content

[Help] Making all races at war with each other


Recommended Posts

Posted

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.

Posted

That!S one option, but I think that Toriad wants something else.

IMHO he wants to make war between all races, like humans can attack other human but can attack night elf and so on... maybe some changes in code and DB, but dunno how...

Posted

I'll give that option a try, basically I just want each race at war with the others.

Blood Elfs VS Orcs Vs Trolls Vs Undead Vs Tauren Vs Humans vs Gnomes vs Dwarves vs Night Elfs vs Dranei

Posted

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;

  • 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