27388 Commits

Author SHA1 Message Date
Steve Cotton
68eeb39e97 EI S03: Fix the chance-to-hit on the initial Dark Adept
The map was changed to use ruined castles in 1.14.12 (fb6d79c8) and 1.15.3
(704fa2ef), but the .cfg file was missed.
2020-12-10 11:36:51 +01:00
Iris Morelle
f49cb62c7c gui2/addon_license_prompt: Fix missing translation mark 2020-12-10 04:34:22 -03:00
Iris Morelle
4fa0ac6357 gui2/addon_license_prompt: Revert caption to just "Terms" 2020-12-10 04:31:02 -03:00
Iris Morelle
8c3918197c gui/addon_manager: Add dedicated license prompt dialog
This allows using full markup for the license text and making it
independently scrollable without messing up the dialog. It also enables
URL parsing in it.
2020-12-10 00:15:17 -03:00
newfrenchy83
70e4f7bb7e
Move documentation outside some macros
Fixes #5347
2020-12-07 22:26:06 -06:00
Elvish_Hunter
ab95662720 wmllint: warn about shroud terrain in map files
Just like _f (fog), _s (shroud) is allowed only inside mask files
2020-12-06 11:23:13 +01:00
Elvish_Hunter
5eadebeb3a wmllint: added four tags to the allowed children of [if]
They are [true], [false], [found_item] and [proceed_to_next_scenario]
2020-12-06 11:23:12 +01:00
Elvish_Hunter
7babdf3cec wmllint: added [elseif] and [wml_message] to the tags allowed inside [part] 2020-12-06 11:23:12 +01:00
Elvish_Hunter
351f7cafcc wmllint: added support for custom conditional tags with magic comments 2020-12-05 11:03:40 +01:00
Elvish_Hunter
785bd018e6 wmllint: prevent a crash if CLEAR_VARIABLE and its arguments aren't on the same line 2020-12-03 21:33:49 +01:00
Elvish_Hunter
845887dfa6 wmllint: prevent a crash if an [attack] tag without the corresponding [/attack] is found 2020-12-03 21:12:21 +01:00
Elvish_Hunter
a5207027fe wmllint: don't quit when finding a mask= key not referencing a .mask file
Fixes #5324
2020-12-03 21:01:15 +01:00
Elvish_Hunter
5e4ba6c01b wmllint: fix a crash if advances_to= is placed before id= in [unit_type]
This was supposed to be a part of the fix for #4102, but for some reason it never got committed.
2020-12-03 20:55:12 +01:00
mattsc
bf3cdeb179 AToTB S2: fix AI bug when Muff Toras has no move
This was caused by a change in the return value of ai_helper.find_best_move() when no move is found.

Fixes #5316
2020-12-02 17:35:26 -08:00
Severin Glöckner
a7320744d0 NR S2: weaken fallback events
One of them seems to be triggered occasionally
2020-12-03 01:18:41 +01:00
Severin Glöckner
7c4ce9dd0f NR: remove unused images
belonged to the alternative story branch
2020-12-02 16:19:48 +01:00
Severin Glöckner
d4e06c83e2 DiD: remove accidentally commited file 2020-12-02 16:15:04 +01:00
Severin Glöckner
db28a8657b DiD S9: increase health
Bats deal 3 damage.
Malin heals also 3 damage if he hits (unless the enemy has less than 6 health)
With 28 hp, Malin can take 9 more hits than he does,
compared to 6 previously on hard (and 8 previously on normal)

closes #5296
2020-12-02 14:10:21 +01:00
Pentarctagon
62aa0b252f
Run wmlindent. 2020-11-30 16:10:28 -06:00
Celtic Minstrel
9c102a64c6
Fix OBJECTIVE_FOOTNOTE 2020-11-30 13:41:09 -05:00
Severin Glöckner
0996a95c48 DiD S9: small fixes
Some units can be cut of in the 2nd round. That's not a problem, but with a
good portion of bad luck it could happen to MKBones, making the scenario
unwinnable. That's handled by map adjustments.

Also increasing HP by 3 for the lich start, might even be more.
Discussion in #5296
2020-11-30 03:32:04 +01:00
Severin Glöckner
e0b39e5dd2 DiD S9: simplify terrain matching codes
Uu^* matches Uu too
2020-11-30 03:32:00 +01:00
Steve Cotton
72863e578b Add a unit test for resistances (using the standard 6 damage types)
I'm working on a bugfix for the [resistance_defaults] tag, for which the
unit test is going to be out-of-tree until we support some method of testing
it without affecting other tests. The version here is the part of that which
can be in-tree, because it doesn't change the core unit's stats.
2020-11-29 22:30:14 +01:00
doofus-01
77e465490d
units - undead variation for sea serpent(ish) units (#5323)
* units - serpent walking corpse

* units - WC and Soulless serpent

* adding zombie serpent portrait

* units - set undead_variation to serpent for croc and serpents
2020-11-29 13:26:51 -08:00
Celtic Minstrel
ef14581956 Remove make targets for the old and obsolete wmlvalidator
This validator was already removed in another commit, so there's no point in these targets existing.
2020-11-29 12:53:54 -05:00
Celtic Minstrel
212b4fc3d1 Put back the documentation comments removed in 0e800d36a6b57ad28d5e2a1d46c3181bb92b597c
This time they're added in the wrong place so as not to break the schema validation; they can be moved to the correct place later once that actually works.
2020-11-29 12:44:31 -05:00
Severin Glöckner
71b0a785e4 UtBS S9: Fix ship moving over Hills
Thanks to knightmare and konrad
2020-11-29 14:57:26 +01:00
Severin Glöckner
883e71d523 NR S2: additional trigger field for door 2020-11-28 13:44:42 +01:00
Severin Glöckner
68d5e25ff7 NR S2_1: remove revealing hex
25,21 was visible from the other side of the wall.

This makes 25,21 part of the wall.
2020-11-27 21:26:21 +01:00
Whiskeyjack
e2d0833bbf NR S2_1: remove rails from castle hexes; fixes #5317 2020-11-27 13:37:35 -06:00
Pentarctagon
7567bb9d79
Run wmlindent. 2020-11-27 00:17:38 -06:00
doofus-01
d6dbc2bb01
animal zombie variations (#5286)
* units - move SotA zombie rats to core

* units - hackish movement anim for zombie gryphons

* units/monsters - better choices from available undead_variations

* units - falcon zombie (no soulless yet)

* units - adding zombie falcon portrait

* units - adding soulless falcon

* units - adding gorer portrait

* units - slight adjustment to zombie falcon

* units - adding zombie rat portrait

* units - zombie tusker

* units - tusker soulless

* units - wire in new undead variations to falcon and tusker

* units - fix some sprite shadows in the zombie tuskers
2020-11-26 19:19:16 -08:00
Steve Cotton
9b616e84de SotA S04: Run wmllint, which fixed some double-spaces in strings 2020-11-25 18:30:45 +01:00
Severin Glöckner
e07a9b9ac6 DiD S10: fix filter 2020-11-25 15:13:11 +01:00
Steve Cotton
f5394e19db SotA S10: Add some translation hints 2020-11-25 14:01:20 +01:00
Steve Cotton
47c9c60ea7 SotA: Fix some other translation hints
They need to be on the line above the string, instead of being a comment
following on the same line as the string.
2020-11-24 03:28:47 +01:00
Severin Glöckner
de4934bcd0 Sota: add translation hints 2020-11-24 02:31:13 +01:00
Pentarctagon
d4b8f71771
Fix indentation. 2020-11-23 00:17:31 -06:00
Pentarctagon
0e800d36a6
Fix schema validation. 2020-11-22 23:54:12 -06:00
Severin Glöckner
302bfb9818 DiD S9: avoid recalling L1 instead generating L2 2020-11-22 22:02:34 +01:00
Severin Glöckner
6764484e69 DiD S9: different way to limit movement
objects rock
fixes #5295
2020-11-22 20:39:23 +01:00
Severin Glöckner
a8a92ca091 DiD S10: change color/flag earlier
before the units show up first, so that it will be correct in the cutscene.
2020-11-22 20:39:23 +01:00
Severin Glöckner
e2f25187ac DiD S10: refactorings
- Giving everybody a teamname, displayed in the :inspect window
- No retreating for Inky with the new AI
- the fake side 5 uses now the icon of side 1, but has still the
  default flag for displaying it in the sidear during the cutscene.
- refactorings
2020-11-22 20:39:20 +01:00
Severin Glöckner
b9124c0033 DiD S10: Inky death handling
- closes #5297
- add's alternative case for AI killing
  (still looking for a less comprehensive wording)
2020-11-22 20:33:44 +01:00
Severin Glöckner
3076d532a5 DiD S10: add time area for 2nd exit
North-east had one, south-west now too. Romm for further improvement:
change the RGB values, the cave is so dark that it's quite some contrast.
One side of the mountain has always shadow, could use that idea.
2020-11-22 20:33:44 +01:00
Severin Glöckner
d339d3c271 DiD S10: list starting gold in statistics
Every change to starting gold before a players turn will still count as staring gold.
Moving the code to to prestart.
2020-11-22 20:33:44 +01:00
Severin Glöckner
bde6ac4541 DiD S10: Hide traces of side 3
It's already hidden in the statistics, hiding their turn-flags too
2020-11-22 20:33:44 +01:00
Severin Glöckner
ae2306865e DiD S9: refactorings 2020-11-22 20:33:44 +01:00
Severin Glöckner
e0acdf61f4 DiD S9: move objectives to prestart
That has the bonus that they are shown if
the player looks them up during the cutscene
2020-11-22 20:33:44 +01:00
Severin Glöckner
299124fd22 DiD S9: grant at least one L2 2020-11-22 20:33:44 +01:00