• 🏆 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!

other orbs

Status
Not open for further replies.
Level 4
Joined
Mar 15, 2011
Messages
39
other help, let me know how to generate alternative orbs, I mean that in my editor I can only edit warcraft orbs as poison, fire, ice, etc, but to see the DOTA, I see that there are more orbs than have my editor warcraft For example, the Sylabear Bear in level 4 has the ability to launch erangel, if not written, the point is I want to know how to design these orbs alternative, for example ability to launch chain lighting or setting a Mana cost to feedback
:ogre_rage::ogre_rage::ogre_rage::ogre_rage::goblin_boom:
 
Level 12
Joined
Oct 10, 2009
Messages
438
You can do this via triggers:

  • ManaCostingFeedback
    • Events
      • Unit - A unit is attacked
    • Conditions
      • //For a mana cost check for feedback//
      • (Attacking Units) Mana Equal to or greater than X
    • Action
      • Unit - Set (attacked units) Mana to ((Attacked units mana) - X)
      • Unit - Set (Attacking units) Mana to ((Attacding units mana) - X)
Edit the X to your wanted value.

The below trigger contains a dummy unit, for information regarding what a dummy unit is and how to use it, check the tutorial section.
A 10% chance on attack to cast chain lightning
  • Chain Lightning attack
    • Events
      • Unit - A unit is attacked
    • Conditions
      • Random integer between 1 and 10 greater than 9
    • Action
      • Unit - Create 1 (Spell Dummy) for owner of (Attacking unit) at (Position of Attacking Unit)
      • Unit - Add abillity (Chain Lightning) to last created unit
      • Unit - Add a 1.3 second expiration timer to last created unit
      • Unit - Order last created unit to (Orc chieftan - Chain lightning) Attacked unit
^^ This trigger leaks, but for simplicity I didnt remove the leaks.

Imo, Im away from the editor right now so some of the triggers might be wrong.
 
Status
Not open for further replies.
Top