0010: ff 9e c3 03 00 8f f3 ff ff .........
format dddddd (player id, target id, distance, startx, starty, startz)
@version $Revision: 1.1.2.1.2.3 $ $Date: 2005/03/27 15:29:57 $
77787980818283
_log.info("EffectKnockBack Loc null check this!"); _effected.broadcastPacket(new FlyToLocation(_effected, _loc, FlyType.PUSH_HORIZONTAL, getSkill().getFlySpeed())); _effected.abortAttack(true, true); _effected.abortCast(true, true); _effected.setXYZ(_loc.getX(), _loc.getY(), _loc.getZ()); _effected.broadcastPacket(new ValidateLocation(_effected)); }
8485868788899091929394
// Send a Server->Client packet MyTargetSelected to the L2PcInstance player MyTargetSelected my = new MyTargetSelected(getObjectId(), 0); player.sendPacket(my); // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client player.sendPacket(new ValidateLocation(this)); } else { // Calculate the distance between the L2PcInstance and the L2NpcInstance if (!canInteract(player))
5960616263646566676869
163164165166167168169170171172173
su.addAttribute(StatusUpdate.CUR_HP, (int)getStatus().getCurrentHp() ); su.addAttribute(StatusUpdate.MAX_HP, getMaxHp() ); player.sendPacket(su); // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client player.sendPacket(new ValidateLocation(this)); } else { if (isAutoAttackable(player) && !isAlikeDead()) {
454647484950515253
{ L2PcInstance trg = (L2PcInstance)target; if (trg.isAlikeDead()) continue; //trg.teleToLocation(activeChar.getX(), activeChar.getY(), activeChar.getZ(), true); trg.setXYZ(activeChar.getX()+Rnd.get(-10,10), activeChar.getY()+Rnd.get(-10,10), activeChar.getZ()); trg.sendPacket(new ValidateLocation(trg)); } } }
6970717273747576777879
3637383940414243444546
152153154155156157158159160161162
5657585960616263646566
// Send a Server->Client packet MyTargetSelected to the L2PcInstance player MyTargetSelected my = new MyTargetSelected(getObjectId(), 0); player.sendPacket(my); player.sendPacket(new ValidateLocation(this)); } else { // Calculate the distance between the L2PcInstance and the L2NpcInstance if (!canInteract(player))
8788899091929394959697
su.addAttribute(StatusUpdate.CUR_HP, (int)getStatus().getCurrentHp() ); su.addAttribute(StatusUpdate.MAX_HP, getMaxHp() ); player.sendPacket(su); // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client player.sendPacket(new ValidateLocation(this)); } else { if (isAutoAttackable(player) && Math.abs(player.getZ() - getZ()) < 100 // Less then max height difference, delete check when geo && GeoData.getInstance().canSeeTarget(player, this)