bugBattle for Wesnoth - Bugs: bug #20836, harm_unit doesnt fire advance...

Show feedback again

bug #20836: harm_unit doesnt fire advance event when experience=yes

Submitted by:  None
Submitted on:  Wed May 22 12:50:43 2013  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group:  None of the others
Status: FixedPrivacy: Public
Assigned to: Elvish_Hunter <elvish_hunter>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 10.6
Operating System: win 7 64

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Thu Jun 27 10:04:10 2013, comment #4:

OOS-triggering changes are not allowed in maintenance branches.

Closing this bug since a development release with the fix is out now and it won't be fixed in 1.10.x.

Ignacio R. Morelle <shadowmaster>
Project Administrator
Tue Jun 18 15:14:54 2013, comment #3:

Then don't I say.

Anonymissimus <anonymissimus>
Project Member
Sun Jun 16 14:45:02 2013, comment #2:

Fixed in master: http://git.io/YWkPPA .
I'm undecided if this should be backported to the 1.10 series, due to the risk of OoS errors.

Elvish_Hunter <elvish_hunter>
Project MemberIn charge of this item.
Wed May 22 16:44:37 2013, comment #1:

thread this came from: http://forums.wesnoth.org/viewtopic.php?f=4&t=38847&p=553752#p553752
@Elvish_Hunter: You probably just have to add fire_event=yes where he says and/or make it a parameter to harm_unit, to account for mainline commit 8692f22dc5f9d0c9e1b64ea7df8594141f39c362, in which I added [unstore_unit]fire_event= with default no, while the previous implicit default was yes. You know the tag best so I assign it to you.

Anonymissimus <anonymissimus>
Project Member
Wed May 22 12:50:43 2013, original submission:

my problem is:
harm_unit doesnt fire post advance event when experience=yes.

i think the reason is, that harm_unit uses unstrore_unit at the end of the lua function with advance = yes and fire_event = no by default.



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

Attach File(s):

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 shadowmaster (Posted a comment)
  • -unavailable- added by elvish_hunter (Posted a comment)
  • -unavailable- added by anonymissimus (Posted a comment)

    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



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jun 27 10:04:10 2013shadowmasterOpen/ClosedOpen=>Closed
    Sun Jun 16 14:45:02 2013elvish_hunterStatusNone=>Fixed
    Wed May 22 16:44:37 2013anonymissimusAssigned toNone=>elvish_hunter
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup