示例#1
0
 public double getRateQuestsReward() {
   Player player = getPlayer();
   double Bonus = player == null ? 1. : player.getBonus().getQuestRewardRate();
   return Config.RATE_QUESTS_REWARD * Bonus;
 }
示例#2
0
 public double getRateQuestsDrop() {
   Player player = getPlayer();
   double Bonus = player == null ? 1. : player.getBonus().getQuestDropRate();
   return Config.RATE_QUESTS_DROP * Bonus;
 }