Example #1
0
    public float CastableShots(int spellIndex)
    {
        SpellController spell = m_SpellSlots[spellIndex];

        if (spell.CanShoot())
        {
            return(spell.GetCurrentAmmo());
        }
        return(0);
    }