View Single Post
  #1  
Old 08-12-2012, 05:15 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default COMMITTED: Damage Shield EXP fix

Currently the damage dealt via a damage shield factors into who gets experience. This is not how it functions on live.

Proof: http://www.magecompendium.com/pets-library.html#petexp and this post on Alla also mentions this fact in the "pincushioning" part http://everquest.allakhazam.com/foru...73098101489300

Code:
Index: attack.cpp
===================================================================
--- attack.cpp  (revision 2183)
+++ attack.cpp  (working copy)
@@ -3241,7 +3241,8 @@

        if(attacker){
                if(attacker->IsClient()){
-                       if(!attacker->CastToClient()->GetFeigned())
+                       // Damage shield damage shouldn't count towards who gets EXP
+                       if(!attacker->CastToClient()->GetFeigned() && !FromDamageShield)
                                AddToHateList(attacker, 0, damage, true, false, iBuffTic);
                }
                else

Last edited by cavedude; 09-13-2012 at 01:46 PM..
Reply With Quote