Progress... Finally... Ok, sorry for double post, but figured this is important.
At #region SkillAttributes2n6n12
Code:
Stamina -= (byte)SkillAttributes[4];
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
below it I added
Code:
CurMP -= (byte)SkillAttributes[2];
MyClient.SendPacket(General.MyPackets.Vital(UID, 2, CurMP));
it's draining mp for magic now. Only one small issue, when I cast the spell I have 7000/7000 MP but it jumped to like 66000/7000 after casting, then started removing off that new amount each attack. Going to see if I can work this out. If you figure anything out, lemme know.
Edit: And on a side note, you were originally right when setting up the mana usage for spells. So don't attempt with the way I stated before, it just results in mana usage.