SoF-era con system. New rule, UseOldConSystem to disable this functionality.

This commit is contained in:
E Spause
2017-03-13 15:07:56 -04:00
committed by Michael Cook (mackal)
parent 989a638693
commit cb8c3595b7
11 changed files with 259 additions and 169 deletions
+1 -1
View File
@@ -2247,7 +2247,7 @@ bool NPC::Death(Mob* killer_mob, int32 damage, uint16 spell, EQEmu::skills::Skil
else {
if (!IsLdonTreasure && MerchantType == 0) {
int conlevel = give_exp->GetLevelCon(GetLevel());
if (conlevel != CON_GREEN) {
if (conlevel != CON_GRAY) {
if (!GetOwner() || (GetOwner() && !GetOwner()->IsClient())) {
give_exp_client->AddEXP((finalxp), conlevel);
if (killer_mob && (killer_mob->GetID() == give_exp_client->GetID() || killer_mob->GetUltimateOwner()->GetID() == give_exp_client->GetID()))