bugBattle for Wesnoth - Bugs: bug #20188, Event-based abilities

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20188: Event-based abilities

Submitted by:  Dugi <mrdarkunknown>
Submitted on:  Thu Sep 20 11:17:42 2012  
Category: Feature RequestSeverity: 1 - Wish
Priority: 5 - NormalItem Group: WML
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 1.11Operating System: Linux

Wed Feb 15 13:21:50 2017, comment #1:

I don't like this idea, it seems to me like it'd just result in the whole [event] code beeing stored in every single unit that uses that ability.

Also note that we recently changed the feeding ability code so that it no longer uses the [+tag] syntax.

Daniel <gfgtdf>
Project Member
Thu Sep 20 11:17:42 2012, original submission:

I would be pleased if it was allowed to place [event]s into the subtags of [abilities] and [specials] and [set_specials], like [leadership], [slows], or [damage] (or [dummy]). These events would have the same effect as if they were in [unit_type]. Too many UMC coders fail to understand the [+tag] use syntax, suggest dumb things on the forums, claim that it is not possible to add things like feeding with [object]s... it is generally hard to understand it, and the whole usage of event based abilities/weapon specials is very clumsy (other macros needed when it's added with advancements, other when added with objects (and the event is not passed on into next scenarios)).

I mean something like this:
name= _ "feeding"
female_name= _ "female^feeding"
description=_ "Feeding:
This unit gains 1 hitpoint added to its maximum whenever it kills a living unit."
id=ability_feeding_die #Preferably, id and first_time_only=no should be added automatically, id according to the id of the ability


text= _ "+1 max HP"




Dugi <mrdarkunknown>


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 gfgtdf (Posted a comment)
  • -unavailable- added by mrdarkunknown (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.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup