Fixed incoming damage on screen display.
This commit is contained in:
		| @@ -767,6 +767,7 @@ public abstract class L2Summon extends L2Playable | ||||
| 			sm.addNpcName(this); | ||||
| 			sm.addString(attacker.getName()); | ||||
| 			sm.addInt((int) damage); | ||||
| 			sm.addPopup(getObjectId(), attacker.getObjectId(), (int) -damage); | ||||
| 			sendPacket(sm); | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
| @@ -174,6 +174,7 @@ public class DoppelgangerInstance extends L2Npc | ||||
| 			sm.addNpcName(this); | ||||
| 			sm.addString(attacker.getName()); | ||||
| 			sm.addInt((int) damage); | ||||
| 			sm.addPopup(getObjectId(), attacker.getObjectId(), (int) -damage); | ||||
| 			sendPacket(sm); | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
| @@ -257,6 +257,7 @@ public class PcStatus extends PlayableStatus | ||||
| 				smsg.addString(getActiveChar().getName()); | ||||
| 				smsg.addString(attacker.getName()); | ||||
| 				smsg.addInt(fullValue); | ||||
| 				smsg.addPopup(getActiveChar().getObjectId(), attacker.getObjectId(), -fullValue); | ||||
| 				getActiveChar().sendPacket(smsg); | ||||
| 				 | ||||
| 				if ((tDmg > 0) && (summon != null) && (attackerPlayer != null)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDev
					MobiusDev