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);
}
.Any Solution or make the soulshot Toggle
somewon can help me how i can make my custom soulshot left click toggle
all works only toggle i can't manage it, 😞
thanks in advance.
I was looking for server with a low rates,eventually i found l2 elixir.I Joined beta and after so many years since 2008 i found a friend that we played together, memories came back. i cant wait for the grand oppening!. dont miss it!
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
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); }but this doesn't work what wrong?
4 answers to this question
Recommended Posts