• 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 aura attribute

Status
Not open for further replies.
Level 3
Joined
Aug 24, 2014
Messages
30
How to create an Aura skill to improve life by seconds based on your main attribute?

I'm trying to create a "Totem" that cures Allies' life by sec for 10 seconds
 
Level 6
Joined
Jan 16, 2017
Messages
110
Greetings, I made the custom ability for you. Let me explain how to use it and what you can change.
Basically in trigger CastHealWard the ability gets triggered, i do not recommend editing anything there except the Wait action, that action can be set to whatever number you need but it cannot be more than Duration of the ward.
  • CastHealWard
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to Healing Ward
    • Actions
      • Set HealCaster = (Summoning unit)
      • Set HealWard = (Summoned unit)
      • Set TempPoint = (Position of HealWard)
      • Trigger - Turn on Heal <gen>
      • Wait 10.00 game-time seconds <--Duration of ability, you can set it to whatever you want but it cannot be longer than Duration of the ward
      • Trigger - Turn off Heal <gen>
      • Custom script: call RemoveLocation(udg_TempPoint)
In Heal trigger you can edit almost anything you want, you can edit the event to change frequency of heals, range of the ward healing by editing that number, Attribute which affects the healing and multiplier (x 1.00) to fit the balance, you can set it to 0.50 if the healing is too much or 2.00 if its too low, the choice is yours.
  • Heal
    • Events
      • Time - Every 0.50 seconds of game time <-- Frequency of healing
    • Conditions
    • Actions
      • Set HealGroup = (Units within 500.00 of (Position of HealWard)) <-- Healing Range
      • Unit Group - Pick every unit in HealGroup and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Real((Strength of HealCaster (Include bonuses)))) x 1.00)) <-- x 1.00 is multiplier, set it to whatever you want to fit the balance
      • Custom script: call DestroyGroup(udg_HealGroup)
Other stuff can be customisable in Object editor, If you have any questions then i'll try to answer them.
Note: only ONE ward can be active at the same time
 

Attachments

  • Spell Aura Attribute.w3x
    18.5 KB · Views: 25
Level 3
Joined
Aug 24, 2014
Messages
30
Greetings, I made the custom ability for you. Let me explain how to use it and what you can change.
Basically in trigger CastHealWard the ability gets triggered, i do not recommend editing anything there except the Wait action, that action can be set to whatever number you need but it cannot be more than Duration of the ward.
  • CastHealWard
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to Healing Ward
    • Actions
      • Set HealCaster = (Summoning unit)
      • Set HealWard = (Summoned unit)
      • Set TempPoint = (Position of HealWard)
      • Trigger - Turn on Heal <gen>
      • Wait 10.00 game-time seconds <--Duration of ability, you can set it to whatever you want but it cannot be longer than Duration of the ward
      • Trigger - Turn off Heal <gen>
      • Custom script: call RemoveLocation(udg_TempPoint)
In Heal trigger you can edit almost anything you want, you can edit the event to change frequency of heals, range of the ward healing by editing that number, Attribute which affects the healing and multiplier (x 1.00) to fit the balance, you can set it to 0.50 if the healing is too much or 2.00 if its too low, the choice is yours.
  • Heal
    • Events
      • Time - Every 0.50 seconds of game time <-- Frequency of healing
    • Conditions
    • Actions
      • Set HealGroup = (Units within 500.00 of (Position of HealWard)) <-- Healing Range
      • Unit Group - Pick every unit in HealGroup and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Real((Strength of HealCaster (Include bonuses)))) x 1.00)) <-- x 1.00 is multiplier, set it to whatever you want to fit the balance
      • Custom script: call DestroyGroup(udg_HealGroup)
Other stuff can be customisable in Object editor, If you have any questions then i'll try to answer them.
Note: only ONE ward can be active at the same time


Thanks +rep
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
Please note that Fintrik's triggers are SUI and only work with one unit at a time (He kept a note at the end of the reply).

If your map is multiplayer, or rather, if your map has multiple healers of the same type that use healing wards, the triggers need to be enhanced to fit a MUI type.
 
Status
Not open for further replies.
Top