Kai Kehres
|
6c6e4d32ed
|
prod: created function create randomized enemy
|
2 years ago |
Kai Kehres
|
557375b9b6
|
refactoring: changed enemyDamaged function parameter and variables in the function
|
2 years ago |
Kai Kehres
|
7780e81c61
|
refactoring: changed playerDamaged Parameters and Unittest setup to resemble the changes
|
2 years ago |
Kai Kehres
|
1e1d7697a3
|
refactoring: changed playerHealfunction paramter and Unittest setup to resemble the changes
|
2 years ago |
Kai Kehres
|
6b0a6f6f64
|
refactoring: changed player Alive function parameters to struct character
|
2 years ago |
Kai Kehres
|
eb7b7c07f6
|
prod/test: created function rollInitiative and Unittest
|
2 years ago |
János
|
85979f40ae
|
player can now get gold after a fight
|
2 years ago |
János
|
89a76a1a36
|
player gets exp after combat
|
2 years ago |
János
|
2b3c1809f1
|
enemy now needs potions to heal
|
2 years ago |
János
|
d092c9f5b9
|
Changed Heal and Damage Functions
|
2 years ago |
János
|
b2c7caa08b
|
refactoring: Split play Heal/Damage
|
2 years ago |
János
|
e633c8c6d3
|
refactoring: playerHealth() now uses Char Struct
|
2 years ago |
János
|
9ff319fbb4
|
refactoring: replaced placeholders
|
2 years ago |
János
|
457e8b5b3c
|
Function to make Enemy Heal
|
2 years ago |
János
|
4add252f45
|
Added Map Function to Map Values
|
2 years ago |
János
|
8994bd7716
|
Enemies can now heal
|
2 years ago |
János
|
15f117fd48
|
refactoring: renamed unused vars for future use
|
2 years ago |
János
|
e26d326853
|
Function to get random nums in range
|
2 years ago |
János
|
e60ea7fe9e
|
Added PlayerInputs for Combat
|
2 years ago |
János
|
0a10e4f5b9
|
refactoring: also changed the getters
|
2 years ago |
János
|
286477ea59
|
refactoring: changed getters to avoid seg.fault
|
2 years ago |
János
|
cccc31e36a
|
Changed the setters to avoid Segmentation faults
|
2 years ago |
János
|
81d5f54a4a
|
player and enemy take turns, enemy can loose
|
2 years ago |
János
|
b0a5408cbb
|
Added first implementation of Fighting System
|
2 years ago |
János
|
26578ac18c
|
Added Test for all paths and switchPlayer Function
|
2 years ago |
János
|
25432ede8b
|
Added TurnSwitch and More Tests for all paths
|
2 years ago |
János
|
133c4fe8c3
|
refactoring: replaced getter func w universal func
|
2 years ago |
János
|
608e76dbe4
|
Added AttackValues and A better getter function
|
2 years ago |
János
|
5cf386590b
|
Added a Function to apply Damage to the enemy
|
2 years ago |
János
|
7bf2091f25
|
added armor and needed functions to enemy
|
2 years ago |
János
|
6af6e3d224
|
added damage value and funtions to enemy struct
|
2 years ago |
János
|
0e98febc24
|
Added a way to read values out of the enemy struct
|
2 years ago |
János
|
b28be0a441
|
structs for enemies and a way to set values
|
2 years ago |
János
|
e6dd447cc5
|
added encounter.c
|
2 years ago |