#Maximum Levenshtein distance. Eg if a user casts 'Pritrgo' instead of 'Protego', distance would be 2 and Protego would still be cast if MAX_LEVENSHTEIN_DISTANCE is at least 2
succes_rate(int)Howmuchchanceforthespelltobesuccesfullycast.Ifitfails,spellwon't be cast (thus spells with a succes_rate of 0 would never be executed, and 100=always succes)
"Finite Incantatem",Spell(100,000,45,"Cancel all effects casted upon you. If you are stunned/silenced, there's a 10% chance this spell might work",SPELL_TYPE_DEFENSE),
"Impendimenta",Spell(94,000,60,"Slows your opponent. EFFECT: Decrease opponent's spell speed by 33% in their next offensive move",SPELL_TYPE_DEFENSE),
"Lumos Solem",Spell(94,000,60,"Blinds your opponent. EFFECT: Decrease opponent's spell damage by 33% in their next offensive move",SPELL_TYPE_DEFENSE),
"Protego",Spell(100,000,80,"Create a shield that blocks most attacks",SPELL_TYPE_DEFENSE),
"Bombarda",Spell(50,180,75,"Creates an explosion near your opponent",SPELL_TYPE_POWERFUL),
"Confringo",Spell(50,200,70,"Creates an explosion directly at your opponent",SPELL_TYPE_POWERFUL),
"Mimblewimble",Spell(50,-1,70,"Ties a knot in your opponents tongue, causing them to be unable to cast a spell for 1 (more) move",SPELL_TYPE_POWERFUL),
"Sectumsempra",Spell(90,400,35,"Slices your opponent",SPELL_TYPE_POWERFUL),
"Silencio",Spell(35,-3,55,"Silences your opponent, causing them unable to cast spells for 3 moves. <!>Only works if opponent is not stunned yet",SPELL_TYPE_POWERFUL),
"Avada Kedavra",Spell(999,999,2,"Instantly end your opponent",SPELL_TYPE_UNFORGIVABLE),
"Crucio",Spell(999,500,5,"Cause excruciating pain to your opponent, causing alot of damage and making them unable to cast spells for 5 moves",SPELL_TYPE_UNFORGIVABLE),
"Imperio",Spell(999,-1,3,"Muddle with your opponent's mind, convincing them to stop casting spells for 10 moves",SPELL_TYPE_UNFORGIVABLE),
deffind_spell_by_name(input:str):# Returns a list with: [spell_object, levenshtein_distance]. If distance is greater than 0 (typos were made), damage goes down