Package l2p.gameserver.templates

Examples of l2p.gameserver.templates.L2Henna


    L2Player 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_STR", HennaData.getInt("stat_STR"));
      hennaDat.set("stat_CON", HennaData.getInt("stat_CON"));
      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.info("HennaTable: Loaded " + _henna.size() + " templates.");
  }
View Full Code Here

        hennatree = statement2.executeQuery();
        while(hennatree.next())
        {
          short id = hennatree.getShort("symbol_id");
          //String name = hennatree.getString("name");
          L2Henna template = HennaTable.getInstance().getTemplate(id);
          if(template == null)
          {
            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);
        count += list.size();
        _log.fine("Henna Tree for Class: " + classId + " has " + list.size() + " Henna Templates.");
View Full Code Here

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

    L2Player activeChar = getClient().getActiveChar();
    if(activeChar == null)
    {
      return;
    }
    L2Henna template = HennaTable.getInstance().getTemplate(SymbolId);
    if(template != null)
    {
      activeChar.sendPacket(new HennaItemInfo(new L2HennaInstance(template), activeChar));
    }
  }
View Full Code Here

TOP

Related Classes of l2p.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.