• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[SPELL] mine

Status
Not open for further replies.
Level 1
Joined
Jul 18, 2008
Messages
5
I need a spell for my map so my archer can use.
Request:
a mine(bomb) that'll be rigged to explode when you step on it with an animation of flame strike.

I tried goblin land mine, didnt like it.
 
Level 1
Joined
Jul 18, 2008
Messages
5
i mean like.. with a certain damage for level of the mine( like techies in dota )
 
Last edited:
Level 1
Joined
Jul 18, 2008
Messages
5
well goblin land mine doesnt give like.. Level 1 - Data - Damage and the actual unit doesnt do anything if i change the Combat - Attack 1 - Damage Base.
but i am on a trigger but..not working
idk what to put in value Set Miner = Value cuz i know its not target of ability being cast
  • Events
    • Unit - A unit Dies
  • Conditions
    • ((Dying unit) is in (Units of type Mine)) Equal to True
  • Actions
    • Set Miner = Value
    • Set Mine_Target = (Dying unit)
    • Set Mine_group = (Units within 400.00 of (Position of Mine_Target) matching ((Owner of (Matching unit)) Equal to (Owner of Mine_Target)))
    • Set TempLoc01 = (Position of (Dying unit))
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Level of Trap for Miner) Equal to 1
      • Then - Actions
        • Special Effect - Create a special effect at TempLoc01 using Abilities\Spells\Other\Doom\DoomDeath.mdl
        • Set SpecialEffect[1] = (Last created special effect)
        • Wait 3.00 game-time seconds
        • Special Effect - Destroy SpecialEffect[1]
        • Special Effect - Create a special effect at TempLoc01 using Environment\LargeBuildingFire\LargeBuildingFire1.mdl
        • Special Effect - Destroy (Last created special effect)
        • Custom script: call RemoveLocation (udg_TempLoc01)
        • Unit Group - Pick every unit in Mine_group and do (Actions)
          • Loop - Actions
            • Unit - Cause Miner to damage (Picked unit), dealing (150.00 x (Real((Level of Trap for Miner)))) damage of attack type Magic and damage type Normal
            • Custom script: call DestroyGroup (udg_Mine_group)
      • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Trap for Miner) Equal to 2
          • Then - Actions
          • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Level of Trap for Miner) Equal to 2
              • Then - Actions
                • Special Effect - Create a special effect at TempLoc01 using Abilities\Spells\Other\Doom\DoomDeath.mdl
                • Set SpecialEffect[1] = (Last created special effect)
                • Wait 3.00 game-time seconds
                • Special Effect - Destroy SpecialEffect[1]
                • Special Effect - Create a special effect at TempLoc01 using Environment\LargeBuildingFire\LargeBuildingFire1.mdl
                • Special Effect - Destroy (Last created special effect)
                • Custom script: call RemoveLocation (udg_TempLoc01)
                • Unit Group - Pick every unit in Mine_group and do (Actions)
                  • Loop - Actions
                    • Unit - Cause Miner to damage (Picked unit), dealing (150.00 x (Real((Level of Trap for Miner)))) damage of attack type Magic and damage type Normal
                    • Custom script: call DestroyGroup (udg_Mine_group)
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Level of Trap for Miner) Equal to 3
                  • Then - Actions
                    • Special Effect - Create a special effect at TempLoc01 using Abilities\Spells\Other\Doom\DoomDeath.mdl
                    • Set SpecialEffect[1] = (Last created special effect)
                    • Wait 3.00 game-time seconds
                    • Special Effect - Destroy SpecialEffect[1]
                    • Special Effect - Create a special effect at TempLoc01 using Environment\LargeBuildingFire\LargeBuildingFire1.mdl
                    • Special Effect - Destroy (Last created special effect)
                    • Custom script: call RemoveLocation (udg_TempLoc01)
                    • Unit Group - Pick every unit in Mine_group and do (Actions)
                      • Loop - Actions
                        • Unit - Cause Miner to damage (Picked unit), dealing (150.00 x (Real((Level of Trap for Miner)))) damage of attack type Magic and damage type Normal
                        • Custom script: call DestroyGroup (udg_Mine_group)
                  • Else - Actions
                    • Do nothing
 
Status
Not open for further replies.
Top