Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2WorldRegion.addZone()


        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);
        zone.revalidateInZone(activeChar);
    }
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.