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
|
d6cdcd00a6
|
refactoring: fight function switched to structs
|
2 years ago |
János
|
e633c8c6d3
|
refactoring: playerHealth() now uses Char Struct
|
2 years ago |
János
|
0d3e29f592
|
refactoring: changed variable names in test_enc
|
2 years ago |
János
|
9ff319fbb4
|
refactoring: replaced placeholders
|
2 years ago |
János
|
0320602a0a
|
Added new variables to character
|
2 years ago |
Albtraumbaum
|
f300d0c05d
|
Merge pull request #3 from Mac10goesBRRRT/encounter
Encounter-Module
|
2 years ago |
Mac10goesBRRRT
|
0c633407e1
|
Merge branch 'main' into encounter
|
2 years ago |
János
|
f34bfa37ab
|
refactoring: renamed some variables
|
2 years ago |
János
|
198e7b9b29
|
Added Healing to the fight function
|
2 years ago |
János
|
184c41412a
|
Healing is weighted, lesser health more heal
|
2 years ago |
Mac10goesBRRRT
|
5778d224c2
|
Merge pull request #2 from Mac10goesBRRRT/characterStats
Character stats merged with main
|
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
|
ae5e7ef9c4
|
Added tests for randIntRange
|
2 years ago |
Kai Kehres
|
95189c0ff0
|
prod/test: added functionality to levelUp created new Unittest for levelUp
|
2 years ago |
Kai Kehres
|
3f03db161e
|
prod/test: added new stats to increase stat function
created levelUp function and 2 Unittests test_levelUp_*
|
2 years ago |
Kai Kehres
|
8b4b35b461
|
prod: Added new stats exp and maxExp and added their getter and setter no Unittest as that is apparently not neccessary for them
|
2 years ago |
János
|
29c90f0e15
|
Added some additional files for easier testing
|
2 years ago |
János
|
ac871cbdd6
|
Enemies can no longer Overheal
|
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
|
081739ea4e
|
Added helper lib to mock std. func.
|
2 years ago |
János
|
43024c9e19
|
Player can now flee from combat
|
2 years ago |
János
|
c0f1ce05f6
|
Heal in Combat now possible
|
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
|
96db2d6d2c
|
Merge branch 'encounter' of https://github.com/Mac10goesBRRRT/projekt into encounter
|
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
|
b8dc8b5705
|
refactoring: unittest arrange/act/assert structure
|
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 |
Kai Kehres
|
a0c3371d45
|
test: updated test_get* Unittests as i had an error and didn't actually tested the correct value
|
2 years ago |
János
|
787d3eea93
|
Merge branch 'encounter' of into encounter
|
2 years ago |
Kai Kehres
|
98ea061df8
|
prod/test: created test_calculateStatIncrease and calculateStatIncrease
|
2 years ago |
János
|
26578ac18c
|
Added Test for all paths and switchPlayer Function
|
2 years ago |
Kai Kehres
|
b2232479de
|
prod/test: created getCharacterLevel and test_getCharacterLevel
|
2 years ago |
Kai Kehres
|
788b458687
|
prod/test: added Level stat and created test_setCharacterLevel and setCharacterLevel
|
2 years ago |
János
|
25432ede8b
|
Added TurnSwitch and More Tests for all paths
|
2 years ago |
Kai Kehres
|
62b522558c
|
refactoring: test combined the test_addCharacterHealthpoints and test_addCharacterStrength Unittests
|
2 years ago |
Kai Kehres
|
4ac4f2b6d8
|
refactoring: prod combined addCharacterHealthPoints and addCharacterStrength to increaseStat function also
|
2 years ago |
Kai Kehres
|
9cefe4afed
|
prod/test: created test_addCharacterStrength and addCharacterStrength
|
2 years ago |
Kai Kehres
|
129fb04dcb
|
prod/test: created test_addCharacterHealthPoints and addCharacterHealthPoints
|
2 years ago |
Albtraumbaum
|
a8123cfbea
|
Merge pull request #1 from Mac10goesBRRRT/ceedlingSettings
Ceedling settings
|
2 years ago |
János
|
6ed2513a3c
|
enabled govc for better test visualization
|
2 years ago |
János
|
133c4fe8c3
|
refactoring: replaced getter func w universal func
|
2 years ago |