1
0
Commit Graph

12 Commits

Author SHA1 Message Date
66ef9b3570 FIX: Protego working while it was supposed to fail 2024-01-16 16:14:54 +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
0d139cfd86 FIX: #3 that fixes #2 2024-01-15 20:34:56 +01:00
KW46
046178a768 FIX: None existing attributed player.stunned_rounds, fixes #2 2024-01-15 20:30:23 +01:00
1bd4a1f034 Set MAX_PLAYER_HEALTH to 1000 (it was set to 500 for quicker test runs) 2024-01-15 17:20:50 +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
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
b20532ae4a Add methods and variables for running game 2024-01-15 14:11:24 +01:00
6a9e3b126a Add decreased_spell_speed/damage to Player class and cast_spell_result()- used to print outcome message of a spell cast 2024-01-15 13:31:26 +01:00
c039b38c82 Add Player class 2024-01-15 13:27:46 +01:00