//nlwarning("Character %s have bad civilization allegiance...'%d/%s' !", entityId.toString().c_str(), allegiance.second, PVP_CLAN::toString(allegiance.second).c_str());
returnFameMaxDefault;
tc=&tribeThres[ttIndex].Marauder;
returntc->getMarauder();
}
switch(allegiance.first)
else
{
casePVP_CLAN::Kami:
returntc->getKami();
break;
casePVP_CLAN::Karavan:
returntc->getKaravan();
break;
casePVP_CLAN::Neutral:
returntc->getNeutral();
break;
default:
//nlwarning("Character %s have bad cult allegiance...'%d/%s' !", entityId.toString().c_str(), allegiance.first, PVP_CLAN::toString(allegiance.first).c_str());
returnFameMaxDefault;
switch(allegiance.second)
{
casePVP_CLAN::Matis:
tc=&tribeThres[ttIndex].Matis;
break;
casePVP_CLAN::Fyros:
tc=&tribeThres[ttIndex].Fyros;
break;
casePVP_CLAN::Tryker:
tc=&tribeThres[ttIndex].Tryker;
break;
casePVP_CLAN::Zorai:
tc=&tribeThres[ttIndex].Zorai;
break;
casePVP_CLAN::Neutral:
tc=&tribeThres[ttIndex].Neutral;
break;
default:
//nlwarning("Character %s have bad civilization allegiance...'%d/%s' !", entityId.toString().c_str(), allegiance.second, PVP_CLAN::toString(allegiance.second).c_str());
returnFameMaxDefault;
}
switch(allegiance.first)
{
casePVP_CLAN::Kami:
returntc->getKami();
break;
casePVP_CLAN::Karavan:
returntc->getKaravan();
break;
casePVP_CLAN::Neutral:
returntc->getNeutral();
break;
default:
//nlwarning("Character %s have bad cult allegiance...'%d/%s' !", entityId.toString().c_str(), allegiance.first, PVP_CLAN::toString(allegiance.first).c_str());
nlwarning("Character %s have bad civilization allegiance...'%d/%s' !",entityId.toString().c_str(),allegiance.second,PVP_CLAN::toString(allegiance.second).c_str());
return;
tc=&(*it).Marauder;
threshold=tc->getMarauder();
}
switch(allegiance.first)
else
{
casePVP_CLAN::Kami:
threshold=tc->getKami();
break;
casePVP_CLAN::Karavan:
threshold=tc->getKaravan();
break;
casePVP_CLAN::Neutral:
threshold=tc->getNeutral();
break;
default:
nlwarning("Character %s have bad cult allegiance...'%d/%s' !",entityId.toString().c_str(),allegiance.first,PVP_CLAN::toString(allegiance.first).c_str());
return;
switch(allegiance.second)
{
casePVP_CLAN::Matis:
tc=&(*it).Matis;
break;
casePVP_CLAN::Fyros:
tc=&(*it).Fyros;
break;
casePVP_CLAN::Tryker:
tc=&(*it).Tryker;
break;
casePVP_CLAN::Zorai:
tc=&(*it).Zorai;
break;
casePVP_CLAN::Neutral:
tc=&(*it).Neutral;
break;
default:
nlwarning("Character %s have bad civilization allegiance...'%d/%s' !",entityId.toString().c_str(),allegiance.second,PVP_CLAN::toString(allegiance.second).c_str());
return;
}
switch(allegiance.first)
{
casePVP_CLAN::Kami:
threshold=tc->getKami();
break;
casePVP_CLAN::Karavan:
threshold=tc->getKaravan();
break;
casePVP_CLAN::Neutral:
threshold=tc->getNeutral();
break;
default:
nlwarning("Character %s have bad cult allegiance...'%d/%s' !",entityId.toString().c_str(),allegiance.first,PVP_CLAN::toString(allegiance.first).c_str());