Emergency Spellcasting

== Emergency Spellcasting ==
Emergency Spellcasting is when a caster of some sort attempts to cast a spell when they have no slots left. The spell will not always succeed, and in cases of success or failure, there might be some side effect to the caster.
== DC for Success ==
The DC for success of throwing a spell when you have no slots left is as follows:DC = 5 + (level of spell to be cast * 2) + (sum of all levels of emergency spells successfully cast * 2)
== Roll for Success ==
The roll for attempting to cast an emergency spell isd20 + spellcasting attribute + proficiency bonus
== Side Effects ==
When you succeed or fail the attempt to cast an emergency spell, you must roll for whether you get a side effect from draining yourself. 
When you SUCCEED casting the emergency spell the DC for avoiding a side effect is:DC = 5 + (level of spell cast * 2) + (sum of all levels of emergency spells successfully cast * 2)When you FAIL casting the emergency spell the DC for avoiding a side effect is:DC = 5 + (level of spell attempted to be cast * 4) + (sum of all levels of emergency spells successfully cast * 4)
=== Side Effect Table ===
When you suffer a side effect, roll d100 on the Side Effect Table
Side Effect Table	Side Effect Table	Side Effect Table
1 	9 	Caster stunned 1d4 rounds
10 	18 	Caster paralyzed 1d4 rounds
19 	27 	Caster is knocked unconscious for 1d4 rounds
28 	36 	Caster suffers (spell level of attempted spell cast)d4
37 	45 	Spell affects caster instead
46 	58 	Caster gains 1 exhaustion level
59 	62 	Caster suffers 1d4 temporary pts of STR loss (long rest recovers)
63 	66 	Caster suffers 1d4 temporary pts of DEX loss (long rest recovers)
67 	70 	Caster suffers 1d4 temporary pts of CON loss (long rest recovers)
71 	74 	Caster suffers 1d4 temporary pts of INT loss (long rest recovers)
75 	78 	Caster suffers 1d4 temporary pts of WIS loss (long rest recovers)
79 	82 	Caster suffers 1d4 temporary pts of CHA loss (long rest recovers)
83 	85 	Caster stunned 1d4 minutes
86 	88 	Caster paralyzed 1d4 minutes
89 	91 	Caster is knocked unconscious for 1d4 minutes
92 	94 	Roll Twice
95 	97 	Roll Three Times
98 	100 	Roll Four Times
== Example ==
For example, Howard, the 4th lvl cleric with a 15 WIS, is out of spell slots and he wants to cast Cure Wounds (lvl 1). Howard's the DC would be:5 + (1 * 2) + (0 * 2) = 7The formula for Howard is: d20 + 2 (WIS) + 2(Prof). He rolls a 4; 4 + 2 + 2 = 8 - he succeeds and can cast cure wounds one more time.
Now Howard must roll for the side effect. The DC for avoiding a side effect since he succeeded is also 7. He rolls a 10; 10+2+2 = 14. All is well for Howard.
Howard is cocky and wants to throw cure wounds again. This time his DC is:5 + (1 * 2) + (1 * 2) = 9Howard rolls a 4 again; 4 + 2 + 2 = 8 - he fails and the cure does not go off.
Now Howard must roll for the side effect. The DC for avoiding a side effect is now:5 + (1 *4) + (1 * 4) = 13Howard rolls a 7; 7 + 2 + 2 = 11. Howard now has to roll on the side effect table. Poor Howard.
Howard rolls a 44; Howard is lucky that the side effect was that the spell affects the caster - so Howard gets the effect of Cure Wounds on himself. Good thing he wasn't trying to cast Inflict Wounds on an enemy.