Commit graph

5 commits

Author SHA1 Message Date
Pentarctagon
a2993884cd
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:20:54 -05:00
Nils Kneuper
0723abe7e3 add some (hackish!) attempt to make the po update routines scan .lua files...
...for strings, too

this is done by a) scanning for all .lua files additionally to all
.cfg files in FINDCFG and b) by adding the equivalent of a "commented
out" #textdomain DOMAIN declaration

next step: testing if it really does work as expected this should also
fix bug #15629 since the objectives are now *only* declared via some
lua magic
2010-03-15 20:22:28 +00:00
Nils Kneuper
df9808b723 another pot-update and changes to the FINDCFG scripts...
...to make sure all files are catched regenerated doc files
2008-11-22 14:15:29 +00:00
Mark de Wever
f7228ced85 Add the widget library to the wesnoth-lib domain and update the helper files. 2008-04-27 15:48:07 +00:00
Nils Kneuper
a50b0fc1e0 moved the terrain names to wesnoth-lib so that they are shown in the editor.
sorry that the names will appear in both textdomains, but since they
do appear in the ingame help, too, there is no clean way to prevent it
since the editor is only allowed to read data from wesnoth-lib and
wesnoth-editor
2007-07-25 14:07:21 +00:00