How I can affect player's mana cost?
zerodowned Sorceror Jun 11, 2014 #2 if you want to change mana cost for a single spell add this Code: public override int GetMana() { return 0; } change the zero to what ever number you want it to be. if you want to change it for an entire circle of spells, look under Magery/MagerySpell for a section Code: private static int[] m_ManaTable = new int[] { 4, 6, 9, 11, 14, 20, 40, 50 }; you'll notice there's 8 numbers there, 4 for first circle spells, 6 for second, etc.
if you want to change mana cost for a single spell add this Code: public override int GetMana() { return 0; } change the zero to what ever number you want it to be. if you want to change it for an entire circle of spells, look under Magery/MagerySpell for a section Code: private static int[] m_ManaTable = new int[] { 4, 6, 9, 11, 14, 20, 40, 50 }; you'll notice there's 8 numbers there, 4 for first circle spells, 6 for second, etc.
zerodowned Sorceror Jun 11, 2014 #3 on second thought, it might be under Scripts/ Spells/ Base/ MagerySpell.cs if all else fails, just search for MagerySpell in your scripts folder
on second thought, it might be under Scripts/ Spells/ Base/ MagerySpell.cs if all else fails, just search for MagerySpell in your scripts folder