Enno Rehling
|
f97b6c9821
|
bug: learn_skill was not learning the right skill
refactor: further reduce learn_skill_depr usage
|
2016-03-24 13:01:42 +01:00 |
|
Enno Rehling
|
b5a4faa745
|
deprecate learn_skill taking a double
- introduce days-based learn_skill
- add a simple test
|
2016-03-24 12:51:21 +01:00 |
|
Enno Rehling
|
02cfacd7f8
|
refactorings
- learn_skill from unit.c to study.c
- add academy.c module
|
2016-03-09 14:52:50 +01:00 |
|
Enno Rehling
|
2f8dc29396
|
clean up item tests so they don't use test_create_world
fix intermittent skillpotion test
|
2015-11-07 13:52:18 +01:00 |
|
Philipp Dreher
|
91155f509c
|
formatting: tabs --> spaces
|
2015-11-01 17:38:12 +01:00 |
|
Philipp Dreher
|
bebc92f82d
|
expansion of the skillpotion-test
test now checks the effect of the potion on the week-counter of
sufficiently high skills
|
2015-10-31 19:03:15 +01:00 |
|
Enno Rehling
|
e99db198eb
|
bugfix use_item (use_skillpotion did not use pool).
from here on, all use_* functions return the number of items used, and
use_item handles removing them from the unit (or the pool).
|
2015-05-24 07:17:23 +02:00 |
|