mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 16:49:04 +00:00
require all quest complete or 32 QP
This commit is contained in:
@@ -115,8 +115,9 @@ public class Guilds {
|
||||
public static boolean checkRequirments(Client c, int objectId) {
|
||||
switch (objectId) {
|
||||
case 1805: // Champions Guild
|
||||
if (c.questPoints < 19) {
|
||||
c.getDialogueHandler().sendStatement("You need 19 quest points to enter this guild!");
|
||||
int requiredQP = Math.min(32, QuestAssistant.MAXIMUM_QUESTPOINTS);
|
||||
if (c.questPoints < requiredQP) {
|
||||
c.getDialogueHandler().sendStatement("You need " + requiredQP + " quest points to enter this guild!");
|
||||
c.nextChat = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user