// Same thing if the Character isn't a Noblesse Blessed L2PlayableInstance
else if (this instanceof L2Playable && ((L2Playable)this).isNoblesseBlessed())
{
((L2Playable)this).stopNoblesseBlessing(null);
if (((L2Playable)this).getCharmOfLuck()) //remove Lucky Charm if player have Nobless blessing buff
((L2Playable)this).stopCharmOfLuck(null);
}
else
and i got this error
[javac] Compiling 1298 source files to C:\L2GateAway\L2JGateway\L2J_CORE\build\classes
[javac] C:\L2GateAway\L2JGateway\L2J_CORE\java\com\it\br\gameserver\model\L2Character.java:1513: 'else' without 'if'
[javac] else if (this instanceof L2PlayableInstance && ((L2PlayableInstance)this).isPhoenixBlessed())
[javac] ^
[javac] 1 error
Hey! It's been years since I tried this, just redownloaded everything for the nostalgia but I'm having the "mismatch" problem.
You were right, I used another system, not the one from the post! My bad!
Now I can't find the system that works with AuthGateD 🤣
I see you have found it and uploaded it but the link you provided no longer works. If you are still around, can you please reupload? Thank you!
Question
FDB
i added dont loose your buffs on death code
// Same thing if the Character isn't a Noblesse Blessed L2PlayableInstance else if (this instanceof L2Playable && ((L2Playable)this).isNoblesseBlessed()) { ((L2Playable)this).stopNoblesseBlessing(null); if (((L2Playable)this).getCharmOfLuck()) //remove Lucky Charm if player have Nobless blessing buff ((L2Playable)this).stopCharmOfLuck(null); } elseand i got this error
34 answers to this question
Recommended Posts