• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Solved] How to damage all units on the map that have X buff?

Not open for further replies.
Level 3
Jan 30, 2009
I made a simple fire wall spell, it makes some dummies with the fire trap model, i set their animation speed to 0% and it looks pretty nice but how can i make the units near those dummies get damaged? I don't want to use spells like blizzard or rain of fire cause i want its damage to scale with caster's intelligence (about 1x intelligence of caster each sec the unit stays near it) so I just gave the dummy the rain of fire ability (with no damage, just for the buff) and ordered it to cast at its origin and gave it a buff called "Burning". I want to make a trigger that damages every unit on the map every 0.1 sec that has the buff "Burning", dealing 0.1 x caster's intelligence. How can i do this? :vw_wtf:
Last edited:
Level 7
Mar 5, 2009
  • Untitled Trigger 001
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Accuracy ) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Cause (Casting unit) to damage (Picked unit), dealing (Real((Intelligence of (Casting unit) (Include bonuses)))) damage of attack type Spells and damage type Normal
1. Don't forget to remove leaks
2. When casting the spell use variable unit and set it to casting unit then replace the casting unit in loop actions with the variable unit.
Not open for further replies.