URL:
<http://gna.org/bugs/?21618>
Summary: In combat, apply slow, poison, drains, and petrify
at the same time as damage
Project: Battle for Wesnoth
Submitted by: elvish_pillager
Submitted on: Sat 08 Feb 2014 03:41:28 PM UTC
Category: Feature Request
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.11.8+dev
Operating System: Debian Linux
_______________________________________________________
Details:
Currently, if a combat event (attacker/defender hits) interrupts a combat by
invalidating one of units, damage will have gone through, but slow, poison,
drain, and petrify will not. However, they *display* as if they did (see the
separate code at actions/attack.cpp 950-975 vs. 1062-1086).
This is nonintuitive for an add-on designer, and it is difficult to compensate
for. Unless the add-on completely duplicates the code that determines when
specials are active, this behavior prevents the add-on from ending a combat
early without making those specials apply incorrectly, and also prevents the
add-on from checking whether an incoming attack applied one of those statuses
to the defender.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21618>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs