Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1792

WML Workshop • filter_adjacent in resistance tag not working

$
0
0
After adding the filter_adjacent the ability remains permanently disabled.

Code:

[effect]apply_to=new_ability[abilities]mode=append[resistance] id=shields_upname= _ "Shields Up"description= _ "By grouping up with 2 other allies, this unit’s resistances are increased by 10, up to a maximum of 50%, when defending against ranged attacks."affect_self=yesactive_on=defense[filter_adjacent]count=2-6is_enemy=no[/filter_adjacent][filter_second_weapon]range=ranged[/filter_second_weapon][filter_base_value]less_than=50[/filter_base_value]add=10max_value=50[/resistance][/abilities][/effect]

Statistics: Posted by CookieLord — Yesterday, 7:36 pm



Viewing all articles
Browse latest Browse all 1792

Trending Articles