Hi all, I added this code to my project and even if player is lvl 1 and without sub he is getting nobless status. Could anyone help me? I want to give nobless status only for players who have active subclass and is level 75+ and send a message to let them know if they are under lvl 75 and dont have sub. Any help is welcome.
Edit: this code is inside l2raidbossinstance
if (player.isInParty())
{
if (getNpcId() == 25325) // barakielId = 25325;
{
for(L2PcInstance newNoble : player.getParty().getPartyMembers())
{
if (!player.isSubClassActive() || player.getLevel() >= 75 || player.isNoble())
{
newNoble.setNoble(true, true);
newNoble.sendMessage("You Are Now a Noble, You Are Granted With Noblesse Status, And Noblesse Skills.");
}
}
}
else
{
if (!player.isSubClassActive() || player.getLevel() < 75);
player.sendMessage("You don't have subclass level 75 or you are already nobless");
}
2 clients:
StyleA: Original client
test1: Unity client
Monster kills are displayed correctly on both clients. Soon it will be possible to kill mobs in a party on 2 different clients
I apologize for my incompetence. The ability to trade is limited only for builder 1. Ordinary characters can trade with each other, and this has nothing to do with auto loot.)
Question
ton3
Hi all, I added this code to my project and even if player is lvl 1 and without sub he is getting nobless status. Could anyone help me? I want to give nobless status only for players who have active subclass and is level 75+ and send a message to let them know if they are under lvl 75 and dont have sub. Any help is welcome.
Edit: this code is inside l2raidbossinstance
Edited by ton324 answers to this question
Recommended Posts