1
0

Cast spells if one of two player fails to cast their spell. Adds player.cast_spell(): Not scripted yet, currently just a placeholder so that cast_spell() prints somethin when called! (and modifies health)

This commit is contained in:
2024-01-15 15:36:37 +01:00
parent 7f6ccb15ef
commit fd8b6567f7
3 changed files with 41 additions and 7 deletions

View File

@ -73,7 +73,7 @@ spell_lumos_solem = Spell("Lumos Solem", 100, 000, 60, "Blinds
spell_protego = Spell("Protego", 100, 000, 95, "Create a shield that blocks most attacks", SPELL_TYPE_DEFENSE)
# Common combat spells. High chance of succes, deals some damage
spell_reducto = Spell("Reduto", 75, 150, 75, "Blast an object near your opponent")
spell_reducto = Spell("Reducto", 75, 150, 75, "Blast an object near your opponent")
spell_rictusempra = Spell("Rictusempra", 85, 90, 90, "Causes your opponent to curl up in laughter, tiring them out")
spell_stupefy = Spell("Stupefy", 95, 75, 95, "Knock over your opponent")