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