View Issue Details

IDProjectCategoryLast Update
0018399Starward RogueBug - OtherMar 11, 2016 1:14 pm
Reporterptarth Assigned Tokeith.lamothe  
Severityminor 
Status resolvedResolutionfixed 
Product Version0.900 
Summary0018399: damagepersecond modifier producing unexpected results
DescriptionThe damage causes (or removed) by damagepersecond is greater than expected.

Example Code:
    <system name="ShieldAddSystem"
  category="DirectUseSystem"
     shot_type="Invisible"
     damage_type="Ballistic"
     attack_power="1" fire_rate="1"
     range_actual="500" cue_time="0"
     shots_per_salvo="1"
     targeting_logic="Dumbfire" firing_timing="AllTheTime"
     image_name="Invisible"
     initial_firing_delay="0"
  distance_threshold_modifiers_applied_to_nearby_entities="500"
  modifiers_applied_to_nearby_entities_can_target_allies="true"
  modifiers_applied_to_nearby_entities_can_target_enemies="true"
     >
  <modifier target="MyParentEntity" type="DamagePerSecond" math="add" magnitude="1" do_not_stack="true" duration="-1"/>
  </system>

Produces an effect that kills a 150 health ship in 9 ticks (seconds), a 100 health ship in 6 ticks, and a 50 health ship in 3 ticks. I have no idea what's going on. Giving the ship a -1 magnitude DamagerPerSecond effect made them regenerate at the same rate. It does not however exceed the maximum health of the ship.
TagsNo tags attached.

Activities

keith.lamothe

Mar 11, 2016 1:14 pm

administrator   ~0045396

I believe this has been fixed in the meantime, as when I tested your ShieldAddSystem code from another report (making NearbyEntities actually work again) the enemies only flashed about once a second and it took them quite a while to die.

Issue History

Date Modified Username Field Change
Jan 21, 2016 6:44 am ptarth New Issue
Jan 21, 2016 5:14 pm Chris_McElligottPark Assigned To => keith.lamothe
Jan 21, 2016 5:14 pm Chris_McElligottPark Status new => assigned
Mar 11, 2016 1:14 pm keith.lamothe Note Added: 0045396
Mar 11, 2016 1:14 pm keith.lamothe Status assigned => resolved
Mar 11, 2016 1:14 pm keith.lamothe Resolution open => fixed