URL:
  <http://gna.org/bugs/?12749>

                 Summary: A Tale of Two Brothers: scenario 1 - undead speech
                 Project: Battle for Wesnoth
            Submitted by: shadowmaster
            Submitted on: Saturday 12/13/2008 at 21:31
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.5.6+svn
        Operating System: any

    _______________________________________________________

Details:

In scenario 1, there's the following WML:
++
#Arne saying some bravado
[event]
    name=die
    [filter_second]
        side=2
        [not]
            type=Dark Adept,Dark Sorcerer,Vampire Bat
        [/not]
    [/filter_second]
    [message]
        speaker=second_unit
        message= _ "That was not so hard!"
    [/message]
[/event]
--

Obviously, the message ends up spoken by the killing unit, which is an undead
not of the types listed in the filter. And not only that, the way this WML is
constructed causes the message to appear *as soon as the first player's unit
dies*. Judging from the message's content, and the comment in the line just
above the event, this message was supposed to be either spoken by Arne, or
another side=1 unit *as soon as they kill the first enemy unit* matching the
misplaced filter above.

It should probably be [filter] rather than [filter_second], and either
speaker=second_unit or speaker=Arne.





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12749>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to