Changes between Initial Version and Version 1 of Ticket #1910, comment 33


Ignore:
Timestamp:
May 8, 2017, 10:44:22 PM (7 years ago)
Author:
Mate-86

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1910, comment 33

    initial v1  
    11- I fixed getplayerstodamage to save an indentation level.
    2 - for 7, I tried to move {{{CauseDeathDamage}}} upper in the function but it resulted run-time error. Looks like it must come after {{{this.hitpoints = 0;}}} otherwise it wouldll the {{{DesyEntity}}} function again. ({{{CauseDeathDamage}}} kills the originator entity itself again.) {{{CauseSplashDamage}}} does not get any info whether it shoue attacker or not.er or not.
     2- for 7, I tried to move {{{CauseDeathDamage}}} upper in the function but it resulted run-time error. Looks like it must come after {{{this.hitpoints = 0;}}} otherwise it would call the {{{DestroyEntity}}} function again. ({{{CauseDeathDamage}}} kills the originator entity itself again.) {{{CauseSplashDamage}}} does not get any info whether it shoue attacker or not.er or not.