bugBattle for Wesnoth - Bugs: bug #21618, In combat, apply slow, poison,...

 
 
Show feedback again

bug #21618: In combat, apply slow, poison, drains, and petrify at the same time as damage

Submitted by:  Eli Dupree <elvish_pillager>
Submitted on:  Sat 08 Feb 2014 03:41:28 PM UTC  
 
Category: Feature RequestSeverity: 1 - Wish
Priority: 5 - NormalItem Group: WML
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 1.11.8+devOperating System: Debian Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Feb 2014 03:41:28 PM UTC, original submission:

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.

Eli Dupree <elvish_pillager>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by elvish_pillager (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup