• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Spell Request

Status
Not open for further replies.

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
MPI = (Multi Player Instance-able) The spell will only be used by max one unit per player.

MUI = (Multi Unit Instance-able) The spell can be used by an (almost) unlimited number of units regardless of which player owns the unit.

If you only need it for single player say so.

edit: Silly me, this is so simple there is no need to specify.

  • Melee Initialization
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Animate Dead
    • Actions
      • Set caster = (Triggering unit)
      • Set loc = (Position of caster)
      • Unit Group - Pick every unit in (Units within 300.00 of loc) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A structure) Equal to False
              • ((Picked unit) is alive) Equal to True
              • ((Picked unit) belongs to an ally of (Owner of caster)) Equal to True
            • Then - Actions
              • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 50.00)
            • Else - Actions
  • Untitled Trigger 001
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Human Archmage - Blizzard
    • Actions
      • Set caster = (Triggering unit)
      • Unit - Remove Banish from caster
      • Unit - Remove Bash from caster
      • Unit - Remove Bash from caster
      • Unit - Add object_editor_made_hp_abilties[(Level of Avatar for caster)] to caster
 
Last edited:
Status
Not open for further replies.
Top