URL:
<http://gna.org/bugs/?23749>
Summary: Illuminates not working as advertised
Project: Battle for Wesnoth
Submitted by: bob_the_mighty
Submitted on: Tue 04 Aug 2015 03:10:54 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.12
Operating System: Windows 7
_______________________________________________________
Details:
Some of the keys in the illuminates ability seem to be broken. I have an
ability which is meant to change the TOD for the unit with the ability and no
one else. Both affect_allies=no and affect_enemies=no do not produce the
desired effect. Nor does putting in a impassable filter. All adjacent units
are affected. Here's my code.
#define ABILITY_BRIGHTENS
[illuminates]
id=brightens
value=10
max_value=25
cumulative=no
name= _ "brightens"
female_name= _ "female^brightens"
description= _ "If this unit is lawful it will fight with a +10% damage
bonus
at dusk and dawn, and a only -15% penalty at night. Units on adjacent hexes
are not affected."
affect_self=yes
affect_allies=no
affect_enemies=no
[affect_adjacent]
[filter]
ability=this_is_to_stop_anyone_else_being_affected
[/filter]
[/affect_adjacent]
[/illuminates]
#enddef
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23749>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs