RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Mana Cost

zerodowned

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