URL:
<http://gna.org/bugs/?10739>
Summary: levels ended through [endlevel]s in die [event]s
result in no experience for kill
Project: Battle for Wesnoth
Submitted by: turin
Submitted on: Friday 01/11/2008 at 19:49
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.3.13+svn
Operating System: debian
_______________________________________________________
Details:
I keep getting a problem where, when a unit kills the final enemy leader, he
gets no experience for the kill. This problem goes away when I take out the
code
[event]
name=die
[filter]
THE ENEMY LEADER
[/filter]
...
[endlevel]
result=victory
[/endlevel]
[/event]
It seems, then, that ending a level with [endlevel] stops everything that was
happening with regards to the kill.
I suspect this is a problem with the implementation of FR #10392. The whole
point I was trying to make was not just that the scenario writer should be
able to force the death animation to take place, though that's useful, but
that the scenario writer should have access to a point _before_ the death
actually takes place, and access to a point _after_ it - it kind of defeats
the purpose if the actual death + experience-giving + possible-level-up
doesn't occur until after the "die" event.
Sorry if that came off as asshole-ish (probably did), I just want to make
sure I'm understood clearly...
Incidentally, do tell me if it's improper form to file bug reports for
problems not present in any released versions of the game. AFAIK it isn't.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?10739>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs