I'm working on a fishing plugin with precasting since the current one doesn't use it.
Now i'm looking for a way too see what i'm casting to cancel the current cast if neccesary.
For example:
No buff on fish -> Precast Big Reel In -> Buff shows -> Cancel current cast if not the right one & cast new spell.
So it would be nice if anyone could tell me how to see what spell is being cast.
I red on the forum that you need a special way to do it when using skills from an item because using getSkill returns null?
But i couldn't find the way how to do it. Anyone an idea?
Now i'm looking for a way too see what i'm casting to cancel the current cast if neccesary.
For example:
No buff on fish -> Precast Big Reel In -> Buff shows -> Cancel current cast if not the right one & cast new spell.
So it would be nice if anyone could tell me how to see what spell is being cast.
I red on the forum that you need a special way to do it when using skills from an item because using getSkill returns null?
But i couldn't find the way how to do it. Anyone an idea?






