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 26 Jan 2010 01:10:27 AM UTC  
 
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 20 Dec 2011 07:24:29 PM UTC, comment #2:

Changing my report into a feature request.

Anonymissimus <anonymissimus>
Project Member
Fri 12 Mar 2010 01:38:19 PM UTC, 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 26 Jan 2010 01:10:27 AM UTC, 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):
   
   
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 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.

     

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 29 Jan 2012 09:34:41 PM UTCshadowmasterStatusPostponed=>None
    Tue 20 Dec 2011 07:24:29 PM UTCanonymissimusCategoryBug=>Feature Request
    Thu 11 Aug 2011 11:12:27 PM UTCcrabAssigned toNone=>crab
    Fri 12 Mar 2010 01:38:19 PM UTCcrabItem GroupNone=> None of the others
      StatusNone=>Postponed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup