Package com.l2jfrozen.gameserver.skills.funcs

Examples of com.l2jfrozen.gameserver.skills.funcs.LambdaStats


      if(val.charAt(0) == '#')
        return new LambdaConst(Double.parseDouble(getTableValue(val)));
      else if(val.charAt(0) == '$')
      {
        if(val.equalsIgnoreCase("$player_level"))
          return new LambdaStats(LambdaStats.StatsType.PLAYER_LEVEL);

        if(val.equalsIgnoreCase("$target_level"))
          return new LambdaStats(LambdaStats.StatsType.TARGET_LEVEL);

        if(val.equalsIgnoreCase("$player_max_hp"))
          return new LambdaStats(LambdaStats.StatsType.PLAYER_MAX_HP);

        if(val.equalsIgnoreCase("$player_max_mp"))
          return new LambdaStats(LambdaStats.StatsType.PLAYER_MAX_MP);

        // try to find value out of item fields
        StatsSet set = getStatsSet();
        String field = set.getString(val.substring(1));
        if(field != null)
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.skills.funcs.LambdaStats

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.