Overhit screen message.
Contributed by mithrilmines.
This commit is contained in:
@ -77,6 +77,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -495,6 +496,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -609,6 +611,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,7 @@ import com.l2jmobius.gameserver.model.skills.SkillCaster;
|
||||
import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExMagicAttackInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
@ -491,6 +492,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
@ -605,6 +607,7 @@ public class L2Attackable extends L2Npc
|
||||
if (_overhit && (overhitAttacker != null) && (overhitAttacker.getActingPlayer() != null) && (attacker == overhitAttacker.getActingPlayer()))
|
||||
{
|
||||
attacker.sendPacket(SystemMessageId.OVER_HIT);
|
||||
attacker.sendPacket(new ExMagicAttackInfo(overhitAttacker.getObjectId(), getObjectId(), ExMagicAttackInfo.OVERHIT));
|
||||
exp += calculateOverhitExp(exp);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user