eqemu base does not support pvp you would have to implement the 'pvp' flag solution on your own (short of priest of discord flipping everyone), look into Mob::IsAttackAllowed
if // if both are pvp they can fight
(
c1->GetPVP() &&
c2->GetPVP()
)
return true;
Use either perl or lua to $client->SetPVP(1); on entering the zone.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
|