I want create like this code if player is in olympiad mode he can only use this skill other places he cannot use this skill.
i create like this in l2pcinstance.java useMagic method
if (skill.getId() == 1345)
{
sendMessage("You can use this skill only in olympiad mode.");
sendPacket(ActionFailed.STATIC_PACKET);
return;
}
else
{
isInOlympiadMode();
sendPacket(ActionFailed.STATIC_PACKET);
}
Hello! I from Poland and i have 32 years old. As thread topic say i looking for serious project to be GM. I have much experience being a GM, started from C4. Please be serious and don't try waste my time, if you have on mind open something for a while, thanks. People who love this game, wanting to develop it further, please contact me at Discord: fr1sk93 or there via pm.
but that doesn't answer my question, i've clarified multiple times that i dont form part of that group, lemme rephrase
do you genuinely believe that anyone 'throwing hate' in this topic forms a part of that team?
Just to see that l2devs was celebrated for everything and when I published the extensions for sale and then I shared for free all the packs based on c4 files... they started to throw hate and downvotes everywhere.... anyone can verify it by checking the forum... for some reason you appeared...
Question
forsas
I want create like this code if player is in olympiad mode he can only use this skill other places he cannot use this skill.
i create like this in l2pcinstance.java useMagic method
but this doesn't work what wrong?
4 answers to this question
Recommended Posts