Modification if you
want to edit item by properties.
Config.java
+ public static int MINA_REWARD_ID;
+ public static int MINA_REWARD_COUNT;
+ MINA_REWARD_ID = players.parseIntIntList("MinaReward", "57");
+ MINA_REWARD_COUNT = players.getProperty("RewardCount", 500000);
+# Minas Event Custom reward
+MinaReward = 57
+RewardCount = 50000
net.sf.l2j.gameserver.util.Broadcast;
+ net.sf.l2j.Config;
original
//add the item to give for reward
private final static int _rewardItemID = 0;
//add the quantity of reward items
private final static int _itemQuantity = 0;
modificada
//add the item to give for reward
- private final static int _rewardItemID = 0;
+ private final static int _rewardItemID = {Config.CHANGESEX_COIN_ID};
//add the quantity of reward items
- private final static int _itemQuantity = 0;
+ private final static int _itemQuantity = {Config.CHANGESEX_COIN_ID};