well iam adding full function subclass ..i've added Martial Artists , Chi Master And Warlock..and i've made sage like each level the magic atk increases and i wrote it like that
but the problem in that code is that when i attack ..my magicatk increases by 1000 points each time i attack so i want it to make magic attack increases only once..what should i do or i add in my code to make it work
Code:
if (attacker.SubClassLevel == 7)
{
attacker.MagicAttack += 1000;
}