Fixed a miscalculation in bonus spells