/**
* @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;
}
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
A small reminder for everyone browsing here - our bonus-start is active starting from today, you can already play with the new benefits! Have a good time everyone 🙂
Question
Amanda55
Where i make max 2 clan members
Don't work
ty for help
15 answers to this question
Recommended Posts