73815 Commits

Author SHA1 Message Date
gfgtdf
c769311395
fix lua terrainfilter bug 2018-12-05 03:36:30 +01:00
mattsc
25206b98bf
Merge pull request #3756 from mattsc/ai_validation
AI schema validation additions. Addresses #3730
2018-12-04 06:29:25 -08:00
mattsc
cf3be040ca Schema validation: add missing AI aspect 2018-12-03 18:19:44 -08:00
mattsc
f07897cba9 Schema validation: support Micro AI named location keys 2018-12-03 18:19:44 -08:00
mattsc
dca3fe71bb Schema validation: add new AI keys 2018-12-03 18:19:37 -08:00
Jyrki Vesterinen
892ed1b555 Fix build with -Werror=unused-parameter 2018-12-03 20:40:03 +02:00
mattsc
31ae8fe46b AI configuration: add mp_rank to non-aspect attributes list 2018-12-03 08:58:41 -08:00
mattsc
afb394c4b1
Merge pull request #3723 from mattsc/rca_ai_changes
Default AI changes
2018-12-02 08:42:42 -08:00
gfgtdf
646e074e5d
add assert for [load_resource] bug. 2018-12-02 17:37:43 +01:00
Celtic Minstrel
16927f9508 add filter_attacker and filter_defender to abilities
To complete the resemblance to the real weapon specials, I add these two tags

Closes #3743
2018-12-02 10:21:47 -05:00
pentarctagon
dbb222813c Fix schema validation error. 2018-12-01 12:15:43 -06:00
josteph
c59da16118 Update changelog for #3643 2018-11-30 17:32:13 +00:00
josteph
5d175eb493 Healing: Display healing animation if the healer is visible but the patient is not (due to fog, shroud, nightstalk...) 2018-11-30 17:18:23 +00:00
josteph
56979f9153 Update changelog for DiD (#3711) 2018-11-30 16:47:39 +00:00
josteph
4f07276a88 Tips: Incorporate suggestion from #3683
https://github.com/wesnoth/wesnoth/pull/3683#issuecomment-439703953
2018-11-30 16:42:06 +00:00
josteph
3c9f425a6c Attack Enemy: Inactive weapon specials are now shown muted, rather than elided altogether. 2018-11-30 16:39:54 +00:00
josteph
e569d896d8 Refine unplagueable/unpoisonable checks as in battle_context_unit_stats. 2018-11-30 16:39:54 +00:00
josteph
526d22648e Attack Enemy: Don't show "poison" in the attacks list if the enemy is unpoisonable. 2018-11-30 16:39:54 +00:00
josteph
5ab1bac38c DiD S12: Typo 2018-11-30 16:33:11 +00:00
josteph
2552e3301a DiD S9: Clarify objectives 2018-11-30 16:33:11 +00:00
josteph
7bb74ee1e3 DiD S8,S9: Carry over units created via plague 2018-11-30 16:33:11 +00:00
josteph
23cffd22d1 DiD S8: Clarify objectives 2018-11-30 16:33:11 +00:00
josteph
39f26950c3 DiD S1: Add a dialog hint about the loyals staying behind.
The other dialog path needs no change.
2018-11-30 16:33:11 +00:00
josteph
a59095b822 DiD S1: Instead of killing the loyals, just assign them to the ally. 2018-11-30 16:33:10 +00:00
Jyrki Vesterinen
4e9b2555df Hide battery charge indicator on small screens (fixes #3714) 2018-11-27 19:25:20 +02:00
gfgtdf
2dfe3f24b4
clientside fix for #3717 : oos for allies caused by planned recruits
a servesided fix was already pushed, both fixes fix the issue independly: the issue will only appae when none of there fixes are present in the curent game.

The probem was that the wb network handler preiously might create units and the unit ctor would wrongly assumes it was in a synced context which messed up the unit id counter. I asume this happend because turn_info::process_network_data was called during the play_slice calls during an animation loop to process chat messages but actually received wb data.
2018-11-27 02:55:22 +01:00
Jyrki Vesterinen
2753b6617b Fix issues with classic theme 2018-11-26 20:10:07 +02:00
Charles Dang
34bb081643 MP Staging/Join Game: disable Esc existing (fixes #3601) 2018-11-26 19:35:26 +11:00
Celtic Minstrel
64279eb4a3 Fix schema conditionals not working 2018-11-24 18:35:15 -05:00
Celtic Minstrel
ea9fddcd23 Support [disallow_end_turn]reason= and use it in the tutorial 2018-11-24 17:46:29 -05:00
pentarctagon
7034c8f97b Run WML schema validation in travis. Fixes #3709
This adds running the WML schema validation in travis.  It also updates the schema itself and fixes a few WML errors so that core and all campaigns under all difficulties pass the schema validation.
2018-11-24 10:35:22 -06:00
gfgtdf
2d22e55132
fix #3736 leader names
fixup e036cadf0bb861a7e609f59c483c07a3f8d16cd0
2018-11-23 20:45:00 +01:00
newfrenchy83
1bd7aa88f0 change "under" to "self"
i changes that for apply_to identical to weapon specials
2018-11-23 14:11:36 -05:00
josteph
1059f238cd THoT S5: Clarify objectives.
Reported by LordWolfDan
2018-11-23 14:17:07 +00:00
Celtic Minstrel
0bf377ab9f
Lua API: Fix some deprecations of game-only functions
Fixes #3737
2018-11-22 08:55:53 -05:00
Nils Kneuper
d7644f0c83 updated French translation 2018-11-21 23:28:30 +01:00
josteph
9c4a314512 fixup! Tips: Add two tips based on discussion on #3683 2018-11-21 15:20:54 +00:00
josteph
683ae71c48 Tips: Add two tips based on discussion on #3683 2018-11-21 03:29:34 +00:00
Celtic Minstrel
8d9d5b7b2d Fix crash if a file tries to pass arguments to a macro defined via --preprocess-defines 2018-11-18 16:57:10 -05:00
Jyrki Vesterinen
e9a6b95fd8 Better implementation of placing the clock (resolves #3582) 2018-11-18 19:52:24 +02:00
josteph
c7e5ad3a8f Sidebar: Reformat trait tooltip
In the case of strong and resilient, the tooltip should now be easier
for players to understand.

Old:
	"+4 HP and +1 HP per level"

New:
	"+4 HP
	+1 HP per level"

Old:
	"battle axe and hammer: +1 damage and +1 HP"

New:
	"battle axe and hammer: +1 damage
	+1 HP"
2018-11-18 12:26:07 +00:00
josteph
4aebb78d74 ThemeWML: Update unit_defense and selected_unit_defense
unit_defense now shows the terrain defense the unit would have at the
mouseover hex, not at its current location.

selected_unit_defense, while an attack indicator arrow is shown, shows
the projected state at the attack hex.

This is consistent with other reports such as unit_weapons and
tod_stats.
2018-11-18 12:26:07 +00:00
josteph
f4efc7ba3f ThemeWML: Make highlighted_unit_weapons fall back to unit_weapons rather than to nothing. 2018-11-18 12:19:51 +00:00
josteph
c8162964c6 ThemeWML: Add selected_tod_stats and selected_time_of_day reports. 2018-11-18 12:19:50 +00:00
josteph
e9373c8a6d ThemeWML: Implement tod_stats more similarly to other reports. 2018-11-18 12:19:50 +00:00
josteph
78523be7f7 Default theme: Make alignment and abilities wider. 2018-11-18 12:19:50 +00:00
josteph
42853719b4 Help: Delete superfluous linebreaks. 2018-11-18 11:25:25 +00:00
josteph
35828b1d32 Help: Document more cases lit terrains. Linkify oasis 2018-11-18 11:02:55 +00:00
josteph
205c7de082 AI Controller has been removed 2018-11-18 09:50:21 +00:00
Celtic Minstrel
e7903874ec Add new schema keys for the game config 2018-11-18 00:45:44 -05:00