What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

DataManager.SpellCache

dragonslaya

New Member
Joined
Mar 5, 2014
Messages
13
Well for my current plugin im working on I need to use or at least am using DataManager.SpellCache to retrieve the skill ID based off skill name. On quite a few skills probably around 10% or less idk I didn't really go through all skills after finding some errors while testing plugin. This
Code:
DataManager.SpellCache[item.ToString()].Id
where item say Aero or Cure passed in would retreieve numbers like for Aero 1397 instead of the proper 120. Im not sure if that was intended cause im using Spellcache wrong or what.

If not. Would you mind pushing out and update with quick fix?
 
Not a bug. There are multiple spells with the name aero, and its just returning the first one that it finds. If your working on spells that you have then you should be using Actionmanager.CurrentActions otherwise you will need to use the id.
 
Not a bug. There are multiple spells with the name aero, and its just returning the first one that it finds. If your working on spells that you have then you should be using Actionmanager.CurrentActions otherwise you will need to use the id.
Ok thanks. np I figured a work around works just as good.
 
Back
Top