( Jump to the original submission )
Mon 10 Oct 2011 07:03:49 PM UTC, SVN revision 51440: manually redo r51290, r51291 and 51292 (event handler bug)
(fix for bug #18695 and bug #17527 )
(Browse SVN revision 51440 )
Mon 26 Sep 2011 08:19:50 PM UTC, comment #7: Fixed by r51290.
Mon 26 Sep 2011 06:59:51 PM UTC, comment #6: This should be considered fixed, now that patch #2851 is committed.
Sun 31 Jul 2011 07:06:16 AM UTC, comment #5: Patch submitted #2851.
Fri 06 May 2011 12:23:14 PM UTC, comment #4: hm
-Why didn't you go for the wml fix suggested ?
-I think we should not mark things "in progress" unless they're assigned to someone.
-The C++ fix suggested made sense to me and should be feasible. It's a rather important feature though and should be discussed.
Fri 06 May 2011 07:46:29 AM UTC, comment #3: I'm marking this "In Progress" because the fix shouldn't be considered final.
Still, for most practical purposes it should now work correctly. The only exceptions are situations in which a unit dies in the hands of a feeder, is stored by an unrelated event and unstored back later and dies again in the hands of a feeder on the same turn number as previously (regardless of whether it's the same scenario or not); in those situations feeding would not activate at all for the second kill. This would be most likely to happen as a result of another WML-driven ability using such a store/unstore mechanism.
Fri 06 May 2011 07:36:41 AM UTC, SVN revision 49397: Sort of fixed bug #17527 (Feeding ability doubles) WML-side. The fix doesn't work in every imaginable situation though (the exceptions should be very rare), so a proper engine-side fix is still wanted eventually.
(Browse SVN revision 49397 )
Wed 26 Jan 2011 01:20:54 AM UTC, comment #1: Hmm, I got logged as Anonymous. Just claiming this as my submission...
Wed 19 Jan 2011 01:52:03 AM UTC, original submission: There's a long-standing flaw in the Feeding ability (effectively described at http://wiki.wesnoth.org/EventWML#A_Trap_for_the_Unwary ) that recently got upgraded to a core bug by the introduction of the Ghast. If more than one different unit type with the Feeding ability from core are included in the same scenario, the effective benefits of the ability are multiplied by the number of unit types that are involved.
The simplest fix is to add the unit type to the macro, i.e.:
#define ABILITY_FEEDING TYPE
...
[filter_second]
ability=feeding
type={TYPE}
[/filter_second]
The Ghast and Necrophage would then need to have their {ABILITY_FEEDING} line changed to {ABILITY_FEEDING (Ghast)} and {ABILITY_FEEDING (Necrophage), respectively.
Ideally, this problem should be dealt with by a C++ fix, that is, adding an "id" attribute to the [event] tag that works similarly to the "id" attribute in [object]. This would fix all cases of the "trap," not just the event-in-ability case.
(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
Follow 6 latest changes.