I commented out the following line of code, recompiled and now the Bots will tank, and I can be a rogue or berserker.
I'm not sure of the complete side effects, but this is a perfect change for me, since I want to make a 1 groupable server where I can be a melee damage dealer and not have to tank!
Edit: I should mention. This is in hate_list.cpp line 318 with svn release 1985.
Edit2: This also makes pets Tank... (wow I wish this was always this way, i always thought that pets should be able to tank!!!)
Code:
if(cur->ent->IsClient()){
if(cur->ent->CastToClient()->IsSitting()){
aggroMod += RuleI(Aggro, SittingAggroMod);
}
if(center){
if(center->GetTarget() == cur->ent)
aggroMod += RuleI(Aggro, CurrentTargetAggroMod);
if(RuleI(Aggro, MeleeRangeAggroMod) != 0)
{
if(center->CombatRange(cur->ent)){
aggroMod += RuleI(Aggro, MeleeRangeAggroMod);
if(currentHate > hateClientInRange || cur->bFrenzy){
hateClientInRange = currentHate;
//topClientInRange = cur->ent;
}
}
}
}
}