bugBattle for Wesnoth - Bugs: bug #15203, Experience not added if killing...

Show feedback again

bug #15203: Experience not added if killing unit moved during killed unit's last breath event

Submitted by:  Anonymissimus <anonymissimus>
Submitted on:  Tue Jan 26 01:10:27 2010  
Category: Feature RequestSeverity: 2 - Minor
Priority: 5 - NormalItem Group:  None of the others
Status: NonePrivacy: Public
Assigned to: Iurii Chernyi <crab>Open/Closed: Open
Release: 1.7.10Operating System: Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue Dec 20 19:24:29 2011, comment #2:

Changing my report into a feature request.

Anonymissimus <anonymissimus>
Project Member
Fri Mar 12 13:38:19 2010, comment #1:

yes, engine uses original attacker location when determining 'whom to award xp. Changing this behavior is possible, but is not trivial (attacker is tracked by location all over the attack code) and, it wont be backward compatible. So, I think that it's better to wait till 1.9 before actually doing something with this.

Iurii Chernyi <crab>
Project MemberIn charge of this item.
Tue Jan 26 01:10:27 2010, original submission:

Consider the following code (kill the troll after the units' creations):
It seems that the engine uses $x2, $y2 to determine which unit shall get the according experience - the id would make more sense and would be more flexible. (The wml author could change ids to give the experience to some other unit.)

Anonymissimus <anonymissimus>
Project Member


(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 (Updated the item)
  • -unavailable- added by crab (Posted a comment)
  • -unavailable- added by anonymissimus (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



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Jan 29 21:34:41 2012shadowmasterStatusPostponed=>None
    Tue Dec 20 19:24:29 2011anonymissimusCategoryBug=>Feature Request
    Thu Aug 11 23:12:27 2011crabAssigned toNone=>crab
    Fri Mar 12 13:38:19 2010crabItem GroupNone=> None of the others
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup