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

                 Summary: Delfador's Memoir - objectives go wrong after
killing Zorlan on Medium/Hard diff.
                 Project: Battle for Wesnoth
            Submitted by: vaxquis
            Submitted on: Friday 10/16/2009 at 19:40
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Campaign
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7 branch (1.7.6)
        Operating System: any

    _______________________________________________________

Details:

in "15_save_the_king.cfg" scenario, after killing Zorlan, the former
objectives (properly set for both win & lose conditions)

        [objectives]
            side=1
            [objective]
                description= _ "Defeat all enemies"
                condition=win
            [/objective]
            [objective]
                description= _ "Defeat Zorlan"
                condition=win
            [/objective]
            [objective]
                description= _ "Death of Kalenz"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Delfador"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Chantal"
                condition=lose
            [/objective]
            [objective]
                description= _ "Death of Garard"
                condition=lose
            [/objective]
            [objective]
                description= _ "Turns run out"
                condition=lose
            [/objective]
            note={EARLY_FINISH_BONUS_NOTE}
        [/objectives]

get replaced with only one bogus win condition, described as "New Objective",
but equal to the old one, as noted below, while removing all the 'lose'
conditions from the 'Scenario Objectives' - it's still possible to lose on
any of the old lose conditions though, as the event triggers remain the
same.

#TODO move to the scenario
    [event]
        name=last breath
        [filter]
            id=Zorlan
        [/filter]
        [message]
            id=Qgthun
            message=  _  "Invincible Zorlan is dead? Quick, run for your
lives!"
        [/message]
        [message]
            id=Kalenz
            message=  _  "You will terrorize Wesnoth no more!"
        [/message]
#ifdef EASY
        [endlevel]
            result=victory
        [/endlevel]
#else
        [objectives]
            side=1
            [objective]
                description=_ "New Objective: Defeat all enemies"
                condition=win
            [/objective]
        [/objectives]
#endif
    [/event]

solution: simply remove the '#else' block or rewrite it appropriately,
possibly with moving it to the scenario file (as noted in TODO)




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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