• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Increase damage per death

Status
Not open for further replies.
Level 12
Joined
Mar 23, 2008
Messages
942
I think its exist a spell that do that, I wanna my unit to increase damage each time it kills another hero. And if it dies, loose all bônus damage.

There is a blizzard skill that does that?

Or I thought I could make a spell with alot of levels that have a fix damage increase per level, so I can set the level to the kills count. But I don't know if there is a skill that works with integer bonus instead of % ones.
 
Level 12
Joined
Mar 23, 2008
Messages
942
Well, the other trigger that increase damage per level its fine, but I wanna to make the bonus increase per level of skill, so I did 4 skills.

But the damage increase per level don't work, only the "Tessaiga Bonus Level 1" work

  • Tessaiga Kill
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of PlayerHero[(Player number of (Owner of (Killing unit)))]) Greater than or equal to Half Yõkai
      • (Level of Tessaiga (dummy based in hardened skin) for PlayerHero[(Player number of (Owner of (Killing unit)))]) Greater than 0
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • blabla
        • Then - Actions
          • blabla
        • Else - Actions
          • blabla
      • Trigger - Run Tessaiga levels <gen> (ignoring conditions)
  • Tessaiga levels
    • Events
    • Conditions
    • Actions
      • Set tempinteger[0] = (Level of Tessaiga (dummy based in hardened skin) for PlayerHero[(Player number of (Owner of (Killing unit)))])
      • Set tempinteger[1] = (Level of Tessaiga Bonus level 1 (based in Item Damage Bonus (+5)) for PlayerHero[(Player number of (Owner of (Killing unit)))])
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Tessaiga (dummy based in hardened skin) for PlayerHero[(Player number of (Owner of (Killing unit)))]) Greater than or equal to 2
        • Then - Actions
          • Unit - Add Tessaiga Bonus level 2 (based in Item Damage Bonus (+5)) to PlayerHero[(Player number of (Owner of (Killing unit)))]
          • Unit - Set level of Tessaiga Bonus level 2 (based in Item Damage Bonus (+5)) for PlayerHero[(Player number of (Owner of (Killing unit)))] to tempinteger[1]
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Tessaiga (dummy based in hardened skin) for PlayerHero[(Player number of (Owner of (Killing unit)))]) Greater than or equal to 3
            • Then - Actions
              • Unit - Add Tessaiga Bonus level 3 (based in Item Damage Bonus (+5)) to PlayerHero[(Player number of (Owner of (Killing unit)))]
              • Unit - Set level of Tessaiga Bonus level 3 (based in Item Damage Bonus (+5)) for PlayerHero[(Player number of (Owner of (Killing unit)))] to tempinteger[1]
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Tessaiga (dummy based in hardened skin) for PlayerHero[(Player number of (Owner of (Killing unit)))]) Greater than or equal to 4
                • Then - Actions
                  • Unit - Add Tessaiga Bonus level 4 (based in Item Damage Bonus (+5)) to PlayerHero[(Player number of (Owner of (Killing unit)))]
                  • Unit - Set level of Tessaiga Bonus level 4 (based in Item Damage Bonus (+5)) for PlayerHero[(Player number of (Owner of (Killing unit)))] to tempinteger[1]
                • Else - Actions
 
Last edited:
Status
Not open for further replies.
Top