Commit graph

2 commits

Author SHA1 Message Date
Pentarctagon
0d27d59901 Add berserk weapon special abilities tests (#8973)
Changes:
* CHECK_STRIKES macro now takes a comma-delimited list of strike counts for when units have a different number of strikes for different weapons, and updates the existing usage in the attacks tests
* Fixed a typo in the attacks_zero test
* Adds tests for berserk as a weapon special ability.

Berserk's handling differs from attacks as a weapon special ability:
* A value less than 1 is treated as effectively infinite rounds of combat (undocumented)
* The cumulative attribute is handled differently - in some cases it sums the values instead of using the highest single value whereas for attacks it always uses the highest single value

Also now exclude data/tests/ from scons pot-update since it was hitting the argument limit for number of arguments to a script.
2024-06-15 20:21:47 -05:00
Nils Kneuper
2f8d25ca7e create textdomain wesnoth-help (part1)
so far only the stuff in po/ is done, what has to be done next is add
the textdomain to the respective file and run a pot-update

the current po files are based on the files from the textdomain
'wesnoth' since this is where the strings currently reside, after the
pot-update only the relevant strings will be left
2010-12-22 11:34:44 +00:00