URL:
<http://gna.org/bugs/?17406>
Summary: ANL mages yield wrong amount of research
Project: Battle for Wesnoth
Submitted by: kernigh
Submitted on: Tue 28 Dec 2010 11:02:22 PM GMT
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Multiplayer
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.8.5
Operating System: OpenBSD 4.8
_______________________________________________________
Details:
With the scenario "4p - A New Land", the units who study at universities can
yield the wrong amount of research.
* Expected behavior: At side turn, each such unit should yield an amount
equal to its level. For example, a Mage should yield 1 point of research; a
Red Mage or White Mage should yield 2 points.
* Actual behavior: Each unit uses the amount of the first unit in the array.
The bug is a typo in definition of macro AUTO_STUDYING, in file
data/multiplayer/scenarios/ANL_utils/ANL_auto_working.cfg. The code now says
'$researchers.level', it needs to say '$researchers[$i].level' (the '[$i]' is
missing).
The bug happened to me when I leveled my first Mage to a White Mage. I run
wesnoth 1.8.5, compiled by me using cmake.
Please add the missing '[$i]' to the code.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17406>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs