Package lineage2.gameserver.model.reward

Examples of lineage2.gameserver.model.reward.RewardGroup.addData()


                {
                  warn("Can't load rewardlist from group: " + npcId + "; type: " + type);
                }
                else
                {
                  group.addData(data);
                }
              }
              if (group != null)
              {
                list.add(group);
View Full Code Here


                warn("Reward can't be without group(and not grouped): " + npcId + "; type: " + type);
                continue;
              }
              RewardData data = parseReward(nextElement);
              RewardGroup g = new RewardGroup(RewardList.MAX_CHANCE);
              g.addData(data);
              list.add(g);
            }
          }
          if ((type == RewardType.RATED_GROUPED) || (type == RewardType.NOT_RATED_GROUPED))
          {
View Full Code Here

                    continue;
                  }
                  _dropsParsed += 1;
                  attrs = itemNode.getAttributes();
                  RewardData data = parseReward(attrs);
                  group.addData(data);
                }
                list.add(group);
              }
            }
            else
View Full Code Here

                  continue;
                }
                _spoilsParsed += 1;
                attrs = itemNode.getAttributes();
                RewardData data = parseReward(attrs);
                g.addData(data);
              }
              list.add(g);
            }
            template.putRewardList(type, list);
          }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.