Examples of ZoneCylinder


Examples of com.l2jfrozen.gameserver.model.zone.form.ZoneCylinder

                    // A Cylinder zone requires a center point
                    // at x,y and a radius
                    attrs = d.getAttributes();
                    final int zoneRad = Integer.parseInt(attrs.getNamedItem("rad").getNodeValue());
                    if (coords.length == 1 && zoneRad > 0)
                      temp.setZone(new ZoneCylinder(coords[0][0], coords[0][1], minZ, maxZ, zoneRad));
                    else
                    {
                      _log.warning("ZoneData: Bad data for zone: " + zoneId);
                      continue;
                    }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.zone.form.ZoneCylinder

      if (!(activeChar instanceof L2PcInstance))
            return;

        L2WorldRegion region = activeChar.getWorldRegion();
        L2DynamicZone zone = new L2DynamicZone(region, activeChar, skill);
    zone.setZone(new ZoneCylinder(activeChar.getX(),activeChar.getY(), activeChar.getZ()-200,
        activeChar.getZ()+200, skill.getSkillRadius()));

        region.addZone(zone);
        for(L2Character c : activeChar.getKnownList().getKnownCharacters())
          zone.revalidateInZone(c);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.