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!

Talent Spec Spells, probably a really quick problem for a clever person to help me

ossirian

New Member
Joined
May 5, 2011
Messages
241
I'm looking to make my CC return true if my character has a spell in his spellbook



public bool SpecSpell(string name)
{
return SpellManager.CanCast(name, me);
}

an example would be this in use,

CastSpell("Icy Touch", a => SC.SpecSpell("Frost Strike"), "TEST"),

a= a true return

the idea is, this line will force "icy touch" to be cast only if frost strike is available in the characters spell book and output "TEST" in hb, if it isnt then the line should return false and be ignored.


i'm trying this, but have exceeded my sessions apparently.
 
no
public bool SpecSpell(string name)
{
return SpellManager.HasSpell(name);
}
This one is and is called like SpecSpell("Icy Touch");
 
While i'm asking, is there a command such as;

SpellManager.HasTalent(name);

?
 
Back
Top