Fixed incoming damage on screen display.

This commit is contained in:
MobiusDev 2018-09-17 09:44:40 +00:00
parent c7c0382ac2
commit 182ba200c9
30 changed files with 30 additions and 0 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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))