Package net.sf.l2j.gameserver.templates

Examples of net.sf.l2j.gameserver.templates.L2CharTemplate


    npcDat.set("baseHpMax", 50000);
    npcDat.set("baseHpReg", 3.e-3f);
    npcDat.set("baseMpReg", 3.e-3f);
    npcDat.set("basePDef", 100);
    npcDat.set("baseMDef", 100);
    L2CharTemplate template = new L2CharTemplate(npcDat);
    boat = new L2BoatInstance(IdFactory.getInstance().getNextId(),template,name);
    boat.getPosition().setHeading(heading);
    boat.setXYZ(xspawn,yspawn,zspawn);
    //boat.spawnMe();
View Full Code Here


    npcDat.set("baseHpReg", 3.e-3f);
    npcDat.set("baseMpReg", 3.e-3f);
    npcDat.set("basePDef", pdef);
    npcDat.set("baseMDef", mdef);

    L2CharTemplate template = new L2CharTemplate(npcDat);
    L2DoorInstance door = new L2DoorInstance(IdFactory.getInstance().getNextId(),template, id, name, unlockable);
    door.setRange(rangeXMin, rangeYMin, rangeZMin, rangeXMax, rangeYMax, rangeZMax);
    try
    {
      door.setMapRegion(MapRegionTable.getInstance().getMapRegion(x,y));
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.templates.L2CharTemplate

Copyright © 2018 www.massapicom. 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.