What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Detect Current cast

Shigato

New Member
Joined
Mar 10, 2012
Messages
49
Reaction score
1
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?
 
Back
Top