• 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.

Spell Request

Status
Not open for further replies.

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
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