URL:
  <http://gna.org/patch/?3083>

                 Summary: Extended drain (value, add, multiply, negative and
fixed values)
                 Project: Battle for Wesnoth
            Submitted by: brilliand
            Submitted on: Fri 06 Jan 2012 11:15:10 AM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Implements most of the features that I suggested in this old forum post:
http://forums.wesnoth.org/viewtopic.php?f=12&t=26359

This patch is split into two parts:

*mul-drain.patch* implements the value, add, sub, multiply and divide
attributes for regular drain (which behave as the do for leadership, that is,
modifying a percentage rather than directly modifying the drain numbers).

*neg-drain.patch* is meant to be applied on top of *mul-drain.patch*.  It
removes the restriction that drain rates can't be negative, and adds a new
[drains_constant] tag that heals (or harms, in case of a negative value) the
user on each successful hit, regardless of whether the target is nonliving.

It might be good to rename the [drains_constant] tag to something like
[heal_on_hit].



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 06 Jan 2012 11:15:10 AM GMT  Name: mul-drain.patch  Size: 9kB   By:
brilliand

<http://gna.org/patch/download.php?file_id=14768>
-------------------------------------------------------
Date: Fri 06 Jan 2012 11:15:10 AM GMT  Name: neg-drain.patch  Size: 9kB   By:
brilliand

<http://gna.org/patch/download.php?file_id=14769>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3083>

_______________________________________________
  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