View Issue Details

IDProjectCategoryView StatusLast Update
0001615Spring engineLuapublic2009-09-02 23:58
ReporterTheFatController Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.80.2.0+git 
Fixed 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

Activities

Kloot

2009-09-02 23:57

developer   ~0004054

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.

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