URL:
<http://gna.org/patch/?3194>
Summary: Extend [filter_vision] to work in SLF, and partial
fix to bug #19565
Project: Battle for Wesnoth
Submitted by: brilliand
Submitted on: Tue 20 Mar 2012 03:59:58 PM GMT
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This patch makes the [filter_vision] tag, which is part of the standard unit
filter, also work (with analogous effect) in a standard location filter. It
then uses this feature to improve the situation in Legend of Wesmere scenario
10 where the yetis appear, by delaying the yeti appearance event until at
least one of the yetis will be visible.
The [filter_vision] tag for the standard location filter differs from the
[filter_vision] tag of the standard unit filter in the following ways:
-It does not check whether a unit on the tile is hidden (i.e. ambush ability)
-It respects an additional ignore_fog parameter (defaulting to false), which
if set, causes the vision check to depend only on shroud (good for checking
whether a side can see the terrain)
-If no side is specified, it defaults to all sides, rather than just all enemy
sides (since there are no "enemy sides" for an empty tile)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 20 Mar 2012 03:59:58 PM GMT Name: filter-loc-vision.patch Size:
3kB By: brilliand
<http://gna.org/patch/download.php?file_id=15386>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3194>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs