Enno Rehling
|
fc052034ac
|
Merge branch 'exparse' of https://github.com/ennorehling/eressea.git
|
2018-05-09 22:23:40 +02:00 |
|
Enno Rehling
|
907348adfc
|
merge race xml changes (teach, migrants, floating point)
|
2018-05-09 22:21:50 +02:00 |
|
Enno Rehling
|
c05a65b881
|
expat parses (most of) races.
fix canteach flag in XML.
|
2018-05-09 22:16:30 +02:00 |
|
Enno Rehling
|
8c7b890f3e
|
set the default unarmed modifiers for races.
|
2018-05-09 20:56:38 +02:00 |
|
Enno Rehling
|
c01e9b24ad
|
unit tests for racial weapon permissions.
|
2018-04-29 15:09:07 +02:00 |
|
Enno Rehling
|
837ab325f9
|
XML simplificatio: unified system for masking races on modifiers.
|
2018-04-29 13:46:17 +02:00 |
|
Enno Rehling
|
ac786e034c
|
extract rc_mask, add it to exparse code.
|
2018-04-29 13:16:07 +02:00 |
|
Enno Rehling
|
c7a65116be
|
add a test for racename.
|
2018-01-01 18:50:39 +01:00 |
|
Enno Rehling
|
cff4e12fbd
|
celan up tests, rename test_cleanup -> test_teardown.
|
2017-12-27 19:58:39 +01:00 |
|
Enno Rehling
|
6e8e163099
|
make item allow/deny XML easier to read, fix code
|
2017-03-03 09:56:27 +01:00 |
|
Enno Rehling
|
5a01eae522
|
make item_use function crash if new and old rules do not agree
add a 'test' function to E3 that exercises all those items
|
2017-02-28 14:22:59 +01:00 |
|
Enno Rehling
|
3a985108a6
|
change all magic resistance to use fractions.
|
2017-02-24 20:47:47 +01:00 |
|
Enno Rehling
|
28c951bdfd
|
eliminate race.parameters.
move all special properties to race.options
|
2017-02-06 09:46:36 +01:00 |
|
Enno Rehling
|
67414f29eb
|
wrap ai.scare and at_scare in rc_set_param
|
2017-02-05 19:26:07 +01:00 |
|
Enno Rehling
|
bd836b76e1
|
channel XML race.parameters through a single, tested, function
|
2017-02-05 16:55:51 +01:00 |
|
Enno Rehling
|
2ecbf89f1a
|
clean up and test various race.parameters
|
2017-02-04 23:16:16 +01:00 |
|
Enno Rehling
|
e51742da90
|
use rc_maxaura wrapper everywhere.
|
2017-02-03 19:50:48 +01:00 |
|
Enno Rehling
|
1c347ca5ba
|
race.healing is now an int percentage, not a float multiplier
|
2017-02-03 18:18:55 +01:00 |
|
Enno Rehling
|
fd9583df3d
|
fix healing for elves in a forest.
rename _magres back to magres.
rc->parameters is not linked to config_changed invalidation.
add tests.
|
2017-02-03 17:43:40 +01:00 |
|
Enno Rehling
|
7750297dc2
|
express race.magres as percentage, not probability (double->int)
|
2017-02-03 10:57:32 +01:00 |
|
Enno Rehling
|
61f76e6722
|
make old_race a little bit less awful.
|
2016-10-04 10:34:18 +02:00 |
|
Enno Rehling
|
d3efc265c3
|
calculating income for dragons is no longer hard-coded
|
2016-10-04 09:14:49 +02:00 |
|
Enno Rehling
|
a3ad9a0222
|
I am now calling get_race far too often. Fix this a bit.
|
2016-09-20 20:27:41 +02:00 |
|
Enno Rehling
|
115e13d513
|
initialize variable
|
2016-09-19 08:42:07 +02:00 |
|
Enno Rehling
|
96d6abdc5a
|
add caching API for rc_find
|
2016-09-19 06:55:32 +02:00 |
|
Enno Rehling
|
f8167ed62c
|
test get_race and others
|
2016-09-19 06:47:46 +02:00 |
|
Enno Rehling
|
cd46bac132
|
fix mac build with clang 7.3
|
2016-08-31 09:42:36 +02:00 |
|
Enno Rehling
|
62ee1468b8
|
https://bugs.eressea.de/view.php?id=2166
* fix magic resistance calculation in calculate_armor.
* add related tests.
* refactor BF_CANATTACK -> BF_NO_ATTACK because it is easier.
|
2015-12-05 17:17:21 +01:00 |
|
Enno Rehling
|
dadf7734a5
|
set defaults in the race constructor, add test.
|
2015-01-15 17:17:58 +01:00 |
|
Enno Rehling
|
0fead39b41
|
added a function that sets a monster's name to NULL if it is the name of its race.
deprecate old rc_name function (renamed to rc_name_s) because it used a static return string.
|
2014-12-09 07:20:36 +01:00 |
|
Enno Rehling
|
4c00777553
|
make race::_name a string, not an array of strings. add a test for rc_name.
|
2014-08-24 23:58:29 +02:00 |
|