Created an uncommon item for testing purposes.
Added an uncommon item for testing purposes.
Fixed dumb typo. Now getRareSize and getRareClass give rare and not common data.
Refactored variable name
Used iterator in makeGhost to avoid ConcurrentModificationException in HeroTest
Changed makedGhost to actually save lostItems/ made new arraylist
Added test that ghosts lose nonspiritual items.
Added giveItem test
Added iterator and fixed bug
Updated comments
Updated addItem with option to replace item if inventory is full
Added tests for update of addItem with option to replace item if inventory is full
Fixed save of lostSpells to actually save spells
Added makeGhost removes all spells and unGhost returns them with correct stats
Now throws exception if non valid rarity given (shouldn't be possible)
upWinCountValidated resets winCount if it will return false
Added tests for winning condition methods