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.
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.