Package net.sf.l2j.gameserver.templates

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


  protected void runImpl()
  {
    L2PcInstance activeChar = getClient().getActiveChar();
    if (activeChar == null)
        return;
    L2Henna template = HennaTable.getInstance().getTemplate(_symbolId);
        if(template == null)
        {
            return;
        }
      L2HennaInstance temp = new L2HennaInstance(template);
View Full Code Here


      hennaDat.set("stat_MEM", HennaData.getInt("stat_MEM"));
      hennaDat.set("stat_DEX", HennaData.getInt("stat_DEX"));
      hennaDat.set("stat_WIT", HennaData.getInt("stat_WIT"));


      L2Henna template = new L2Henna(hennaDat);
      _henna.put(id, template);
    }
    _log.config("HennaTable: Loaded " + _henna.size() + " Templates.");
  }
View Full Code Here

        while (hennatree.next())
        {
          int id = hennatree.getInt("symbol_id");
          //String name = hennatree.getString("name");
          L2Henna template = HennaTable.getInstance().getTemplate(id);
                    if(template == null)
                    {
                      hennatree.close();
                      statement2.close();
                      classlist.close();
                      statement.close();
                        return;
                    }
            L2HennaInstance temp = new L2HennaInstance(template);
          temp.setSymbolId(id);
          temp.setItemIdDye(template.getDyeId());
          temp.setAmountDyeRequire(template.getAmountDyeRequire());
          temp.setPrice(template.getPrice());
          temp.setStatINT(template.getStatINT());
          temp.setStatSTR(template.getStatSTR());
          temp.setStatCON(template.getStatCON());
          temp.setStatMEM(template.getStatMEM());
          temp.setStatDEX(template.getStatDEX());
          temp.setStatWIT(template.getStatWIT());

          list.add(temp);
        }
        _hennaTrees.put(ClassId.values()[classId], list);
        hennatree.close();
View Full Code Here

    L2PcInstance activeChar = getClient().getActiveChar();

    if (activeChar == null)
        return;

    L2Henna template = HennaTable.getInstance().getTemplate(_symbolId);

        if (template == null)
            return;

      L2HennaInstance temp = new L2HennaInstance(template);
View Full Code Here

       
        L2HennaInstance sym = null;
       
        if (symbol_id != 0)
        {
          L2Henna tpl = HennaTable.getInstance().getTemplate(symbol_id);
         
          if (tpl != null)
          {
            sym = new L2HennaInstance(tpl);
            _henna[slot - 1] = sym;
View Full Code Here

TOP

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

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.