2025-07-23 14:10 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001615Spring engineLuapublic2009-09-02 23:58
ReporterTheFatController 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.2.0+git 
Target VersionFixed in Version0.80.2.0+git 
Summary0001615: UnitPreDamaged 'return 0' still applies full impulse
Descriptiongadget:UnitPreDamaged can return a number to modify the received damage from a particular explosion however when returning any number (including 0 for no damage) the unit still receives the full impulse from the explosion that hit it, imo this should scale to the damage returned by UnitPreDamaged instead as you can have immune units flying across the map having taken no damage.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004054

Kloot (developer)

You'll be able to control the added impulse by returning a second number that acts as a scalar for it (0 ==> weapon impulse is nullified, 0.5 ==> impulse is halfed, etc) next engine release.
+Notes

-Issue History
Date Modified Username Field Change
2009-09-01 23:13 TheFatController New Issue
2009-09-02 23:57 Kloot Note Added: 0004054
2009-09-02 23:58 Kloot Status new => resolved
2009-09-02 23:58 Kloot Fixed in Version => 0.80.2.0+git
2009-09-02 23:58 Kloot Resolution open => fixed
2009-09-02 23:58 Kloot Assigned To => Kloot
+Issue History