Hello i try to make maximum 2 healers allowed in 1 party but im getting some problems maybe can someone help me ?
i added this lines to requestjoinparty but is not working properly
if (target.getClassId().getId() == 97 && (party.getMembersCount() >= 2) )
{
requestor.sendMessage("Maximum 2 healers are allowed in party !");
return;
}
Siege Reward
Start PM Msg
Rework Config root
BossDieAnnounce and BossDieSound in the L24Team.properties and Config.java files for global raid boss death notifications and sounds. Adds a new reward_list table to the DB.sql file to track castle rewards.
Improves character creation logic for thread safety and validation.
Adds extensive state checks to the RequestEnchantItem method to prevent enchantments during inappropriate player states.
Fixed auto-attack animation bug (there was no attack animation, only damage animation)
Clean Code
Other fixes I forgot to list!
Java 14
Fixed issue where deleting a character would prevent it from leaving the screen or being removed, or even after a delete CD (it would only exit when re-logging in or creating a new character).
Added Premium System from the other C2 project (Needs testing and improvement).
Added the "Improved" Community Board (incomplete).
Question
arm4729
Hello i try to make maximum 2 healers allowed in 1 party but im getting some problems maybe can someone help me ?
i added this lines to requestjoinparty but is not working properly
if (target.getClassId().getId() == 97 && (party.getMembersCount() >= 2) )
{
requestor.sendMessage("Maximum 2 healers are allowed in party !");
return;
}
Edited by arm47295 answers to this question
Recommended Posts