1485f171be
Make game.py compatible with the new dicts
2024-01-18 16:31:43 +01:00
7f900a6541
FIX: New rounds starting while a player has 0 hp ( fixes #10 )
2024-01-16 16:45:43 +01:00
Kwarde
8e96f8d1de
Merge pull request #9 from KW46/fix-issue-7
...
Fix issues #6 and #7 (protego working when it should not, stunned_rounds being off by one)
2024-01-16 16:20:34 +01:00
bb6e1239e3
FIX: Returning list when using help instead of just queried item. Fixes #1
2024-01-16 16:06:49 +01:00
4a01544ebf
Address issues in #6 and #7
...
FIX: Stunned rounds being off by one (fixes #6 )
FIX: Output messages if player is stunned
FIX: Protego working while being stunned (fixes #7 )
FIX: Finite Incantatem not working
FIX: (sneakily added this fix without creating an issue) Blinded effect not doing anything
2024-01-16 16:02:35 +01:00
bcffdda12b
Define player.active_spell_succes; it was (partially) implemented but not defined
2024-01-16 07:16:45 +01:00
c5f61b178c
Finish cast_spell(), few tweaks done
2024-01-15 17:20:03 +01:00
90715ab43f
Add .active_spell to Player (removes playerN_active_spell), finish duelling logic
2024-01-15 16:00:44 +01:00
0909e47780
Determine fastest caster
2024-01-15 15:49:21 +01:00
fd8b6567f7
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)
2024-01-15 15:36:37 +01:00
7f6ccb15ef
Get player spell from input (or show a help message)
2024-01-15 15:11:13 +01:00
885f407383
Get player wands, intro to battle, adds spells.random_battle_spell()
2024-01-15 14:56:20 +01:00
7cbcf4dbf4
Intro message, ask for player name, improve wand's representation (readability)
2024-01-15 14:27:08 +01:00
b20532ae4a
Add methods and variables for running game
2024-01-15 14:11:24 +01:00