/**
* @param pledgeType the Id of the pledge type.
* @return the maximum number of members allowed for a given {@code pledgeType}.
*/
public int getMaxNrOfMembers(int pledgeType)
{
int limit = 2;
switch (pledgeType)
{
case 0:
switch (getLevel())
{
case 3:
limit = 2;
break;
case 2:
limit = 2;
break;
case 1:
limit = 2;
break;
case 0:
limit = 2;
break;
default:
limit = 2;
break;
}
break;
case -1:
limit = 2;
break;
case 100:
case 200:
switch (getLevel())
{
case 11:
limit = 2;
break;
default:
limit = 2;
break;
}
break;
case 1001:
case 1002:
case 2001:
case 2002:
switch (getLevel())
{
case 9:
case 10:
case 11:
limit = 2;
break;
default:
limit = 2;
break;
}
break;
default:
break;
}
return limit;
}
Is it possible to use Adrenalin 1.71 (Cracked) on clients higher than H5? Looking for support for Grand Crusade (109) or Essence: Assassin (418) on a bot-allowed server.
Really? Really
Completely? Completely
We're sorry too. It's been a great way of 10 years, and we are grateful to you for every activation you made. All the details about the closure are available on the website.
Important! The SMS-Activate brand no longer exists. There appear websites that duplicate our name — these are scammers, we have no connection to them. If you receive messages from “SMS-Activate employees”, be sure it's a scam. Currently, our technical support is only processing withdrawals from balances.
Question
Amanda55
Where i make max 2 clan members
/** * @param pledgeType the Id of the pledge type. * @return the maximum number of members allowed for a given {@code pledgeType}. */ public int getMaxNrOfMembers(int pledgeType) { int limit = 2; switch (pledgeType) { case 0: switch (getLevel()) { case 3: limit = 2; break; case 2: limit = 2; break; case 1: limit = 2; break; case 0: limit = 2; break; default: limit = 2; break; } break; case -1: limit = 2; break; case 100: case 200: switch (getLevel()) { case 11: limit = 2; break; default: limit = 2; break; } break; case 1001: case 1002: case 2001: case 2002: switch (getLevel()) { case 9: case 10: case 11: limit = 2; break; default: limit = 2; break; } break; default: break; } return limit; }Don't work
ty for help
15 answers to this question
Recommended Posts