免费下载
  • 血玫瑰天堂2社区
  • www.l2fater.cn
  • 浏览次数:7
  • 最后更新:2021-01-02
  • 请勿商业运营,违法使用和传播!仅供研究学习使用!
  • 简介:

    作者:LucasDesigner
    点击宝箱图标,如果翻出来的是硬币,你就赢了,如果是火炬,你就输了
    如果想设置不同奖励,需要配置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};

    附上代码地址:
    标签 扫雷

    免登录评论