Package l2p.gameserver.skills

Examples of l2p.gameserver.skills.Stats


    {
      show("Некорректные данные", player);
      return;
    }
    String value = var[0];
    Stats stat = Stats.valueOfXml(value);
    StringBuilder dialog = new StringBuilder("<html><body>");
    dialog.append("<table><tr>");
    dialog.append("<td><button value=\"Back\" action=\"bypass -h scripts_commands.voiced.Help:showstats\" width=40 height=15 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_CT1.Button_DF\"></td>");
    dialog.append("<td><button value=\"Refresh\" action=\"bypass -h scripts_commands.voiced.Help:showfuncs ").append(value).append("\" width=60 height=15 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_CT1.Button_DF\"></td>");
    dialog.append("</tr></table>");
    dialog.append("<br><center><font color=\"LEVEL\">Stat: ").append(stat).append("</font></center><br><br>");
    Calculator[] calculators = player.getCalculators();
    if(calculators == null || calculators.length == 0 || stat == null)
    {
      dialog.append("None");
    }
    else
    {
      Calculator c = calculators[stat.ordinal()];
      Func[] funcs = c.getFunctions();
      for(int i = 0; i < funcs.length; i++)
      {
        if(funcs[i]._funcOwner != null)
        {
View Full Code Here


   *
   * @param element элемент
   */
  public void setAttributeElement(byte element, int value, boolean updateDb)
  {
    Stats stat = getStatByEnchantAttribute(element);
    if(stat == null || value == 0)
    {
      if(_enchantAttributeFuncTemplate != null)
      {
        detachFunction(_enchantAttributeFuncTemplate);
View Full Code Here

TOP

Related Classes of l2p.gameserver.skills.Stats

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.