Update RELEASE_NOTES

This commit is contained in:
gfgtdf 2015-12-10 23:11:11 +01:00
parent eb0195835f
commit 1fbf596be1

View file

@ -83,6 +83,10 @@ In variable substitution it's now possible to specify default values for example
It is now possible to create custom effects with the [tt]wesnoth.effects[/tt] lua table.
[/rasection]
[rasection="New [resource] tag similar to mp [modification]s"]
A new tag [resource] was introduced which can contain [event] and [lua] similar to [modification] but its hidden from the user.
[/rasection]
[rasection="New $other_unit variable for some filters"]
A new [tt]$other_unit[/tt] variable is accessible in some unit filters. This can be used in [tt]filter_adjacent[/tt] and similar contexts to create filters that are relative to the main unit. The backstab and leadership abilities have been rewritten to take advantage of this feature, which allows leadership to be implemented by a single macro, [tt]{ABILITY_LEADERSHIP}[/tt]. Although the old [tt]{ABILITY_LEADERSHIP_LEVEL_3}[/tt] etc macros are still available, they merely point to the new one. As a result, anyone who used a leadership level not matching the unit's level (for example, level 4 leadership on a level 3 unit) will find that this no longer works as expected.
[/rasection]