Page 1 of 1

use skill

Posted: Mon Aug 29, 2011 4:39 am
by morfiuz
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Ct 1.5:
L2JDP Revision Ct 1.5:

code that I use to know what skill the player used?

Example:
this code checks whether the player is with wyvern:

Code: Select all

 if (((L2PcInstance) character).getMountType() == 2)  ((L2PcInstance) character).dismount(); 
I would like to know:
What he is trying to use skill and cancel the action if necessary.

Re: use skill

Posted: Mon Aug 29, 2011 6:02 am
by Tryskell
Dude, stop to ask (spam) and try to think 5secs.

Such behavior exists already with spell turning (PP skill).

Re: use skill

Posted: Tue Aug 30, 2011 8:28 pm
by morfiuz
well ... I use the forum to help, SPAM, and what you did SPAM, because your response and the least useless, to say nothing else ...

If you do not have ability to help, not hinder ...
Lord try to think

the time missed talking rubbish ...
Could have given an example of what I asked!

I hope someone who knows what and a forum, try to help me ...
no more!

Re: use skill

Posted: Wed Aug 31, 2011 2:43 pm
by Tryskell
morfiuz wrote: Could have given an example of what I asked!
I said it but you're blind wrote:Such behavior exists already with spell turning (PP skill).
You can't even read a 2 sentences post.

About the "spam" stuff, my bad. I forget that forum isn't a forum. When you post 3 topics one after others, in a normal forum it's considered as a spam, but here, posts are often spaced by days, if not by weeks. So you fill alone the section lol.

Still you can try to think 5 seconds. :P

Re: use skill

Posted: Wed Aug 31, 2011 7:23 pm
by morfiuz
Children, as they are unbearable when they want ...

Well, if you do not know the answer, would be asking too much for not answering the topic ...

You made ​​a help topic, under debate!

Please try to stay away from my topics.

Unlike you, I have more to do ...

Re: use skill

Posted: Fri Sep 02, 2011 9:10 am
by Tryskell
Continue to bark, I gave you the answer twice.
Please try to stay away from my topics.
No problem.

PS : I'm 24y old, and I got my own pack with 185 commits so far.

Re: use skill

Posted: Fri Sep 02, 2011 1:57 pm
by Zoey76
You want to cancel as skill but you don't give enough information.

Do you want to abort cast? This will show animation and end skill if requeriments aren't met.
Do you want to avoid cast? This will send for example a system message and no animation will be displayed if requeriments aren't met.
Do you want to cancel skills by id/level, by skill type, by target conditions, by caster conditions?