[resistances] directly inside [unit_type]? (undocumented)
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
[resistances] directly inside [unit_type]? (undocumented)
looks like it is allowed to have [resistances] tag outside of [move_type] tag, like this:
but I could not find it mentioned on wesnoth's WML reference
is this feature officially supported?
should I expect it being present in future versions of Wesnoth?
Code: Select all
[unit_type]
cost=18
usage=scout
id=elf-archer
race=elf
hitpoints=68
[resistance]
blade=80
pierce=80
[/resistance]
movement_type=name-of-some-move-type
[/unit_type]
...
is this feature officially supported?
should I expect it being present in future versions of Wesnoth?
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
Re: [resistances] directly inside [unit_type]? (undocumented)
> movement_type: See movetype. Note that the tags [movement_costs], [vision_costs], [defense], and [resistance] can be used to modify this movetype.