URL:
<http://gna.org/bugs/?24361>
Summary: killing Leader with [harm_unit] will not end the
game
Project: Battle for Wesnoth
Submitted by: vasya
Submitted on: Sat 30 Jan 2016 07:08:09 PM UTC
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.12.0
Operating System: Linux amd64
_______________________________________________________
Details:
Killing a Leader with [harm_unit] will not end the game for that player.
Steps to reproduce:
* Create a WML script to [harm_unit] (example below)
* start a game with 3 players (1 human + 2 AI)
* kill your Leader with harm_unit
* observe the game not being ended at all. If you had additional units, you
may use them normally afterwards. If you didn't have any additional units you
will watch AIs fighting each other with no way to interact. The game will fall
into a loop stopping only when one AI kills the other.
Example WML:
[set_menu_item]
id=mod_killunit
description=_"kill unit (DANGEROUS)"
[command]
[harm_unit]
[filter]
x,y=$x1,$y1
[/filter]
amount = 999
[/harm_unit]
[/command]
[/set_menu_item]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24361>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs