1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Explain me how do I calculate the damage of Cluster Rockets

Discussion in 'World Editor Help Zone' started by hdm, Apr 12, 2014.

  1. hdm

    hdm

    Joined:
    Nov 19, 2011
    Messages:
    384
    Resources:
    0
    Resources:
    0
    Explain me how do I calculate the damage of Cluster Rockets
     
  2. deathismyfriend

    deathismyfriend

    Joined:
    Oct 24, 2012
    Messages:
    6,529
    Resources:
    14
    Spells:
    12
    Tutorials:
    2
    Resources:
    14
    It is however you want to. If you make your own spell then you deal damage in your own way.

    How would you want to deal damage ?
    Explain your spell more. And show triggers if you can.
     
  3. Nichilus

    Nichilus

    Joined:
    Sep 26, 2009
    Messages:
    1,968
    Resources:
    0
    Resources:
    0
    I think he meant the ability that the hero goblin Tinker uses.
     
  4. hdm

    hdm

    Joined:
    Nov 19, 2011
    Messages:
    384
    Resources:
    0
    Resources:
    0
    yes. the standard
     
  5. Licheus

    Licheus

    Joined:
    Apr 18, 2009
    Messages:
    562
    Resources:
    0
    Resources:
    0
    Look at the fields
    Data - Damage Interval
    Data - Damage Amount
    Data - Max Damage
    for the ability in the object editor.

    if
    [Damage Amount * number of targets in the AoE] is less than or equal to Max Damage
    or
    Max Damage is set to 0
    then:
    Damage dealt to each target in the AoE will be: Damage Amount points of damage.

    else:
    Damage dealt to each target in the AoE will be: [Max Damage / number of targets in the AoE] points of damage.


    Shortly: set Max Damage to 0. Then every Damage Interval seconds damage dealt to each target in the AoE will be: Damage Amount points of damage.

    Do you understand how the fields Damage Interval and Effect Duration make up the total number of waves of damage?
     
  6. hdm

    hdm

    Joined:
    Nov 19, 2011
    Messages:
    384
    Resources:
    0
    Resources:
    0
    Is there any way to simplify this ? :vw_wtf:
     
  7. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    Basically, damage per target would approximately be:

    Max Damage / Number of units

    @Licheus - Seriously? I never knew setting Max to 0 will cause it to have no max (was thinking it won't deal damage)...