Jump to content

Question about spell ranks


Recommended Posts

I am trying to write a healing fight class for vanilla.  I have experience writing them in wotlk.  My question is how do you define which spell rank to use.  When using the creator you can select the rank.  When you add two spells with the same name and convert it to C# you get:

new SpellState("Heal", 2, context => true, false, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Auto, "", "none", true, true, false),
                            

new SpellState("Heal", 1, context => true, false, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Auto, "", "none", true, true, false),


Not sure where the spell rank is found.  When writing the code out, you define the spell but not sure which rank it will select.  Example:

private Spell _heal;

_heal = new Spell("Heal");

Where would I define the spell rank?  I would be interested in using multiple ranks for downranking spells.

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...