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

This commit is contained in:
E Spause authored and Michael Cook (mackal) committed 2017-04-15 13:06:46 -04:00
1 parent 989a638693
commit cb8c3595b7
11 files changed
+259 -169

No files matched your search

+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()))