Has anyone tried to set up their shard to where if a person picks Warrior Class, they are limited to the spells they can use?
I know POL can, but just wondering if we can.
I know POL can, but just wondering if we can.
private Type[] m_ClassSpells = {typeof(HealSpell), typeof(GreaterHealSpell)};
if (Array.IndexOf(m_ClassSpells, spell.GetType()) == -1)
{
return false;
}
Have you thought about having a gump, or moongates set up that define classes? You could handle all of this after character creation.
I use the gate method in my hardcore mod https://www.servuo.com/threads/hardcore-mode-arcade-life-system.3319/. It's pretty easy to set the gates to do whatever you need them to do.
We use essential cookies to make this site work, and optional cookies to enhance your experience.