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

Intelligence Aura

Status
Not open for further replies.
Level 4
Joined
Mar 22, 2005
Messages
35
Hey guys,
i wonder if any of u could help me making an intelligence aura that gives +intel to nearby allies (hero ability).

tried converting item abilities, didnt work of course.

Could anyone help me?
all ideas are appreciated!
cheers,

Meneldor
 
Well, itd be pretty simple, create an ability based on the item stat gain bonuses (if your ability has multiple levels, give it multiple levels as well) set it to give as much as you want the aura to give, then youll have to use some triggers:

Event: Every 0.01 seconds
Condition: n/a
Actions: Pick every unit inside (AoE of ability) of (unit with ability) and do actions
If/Then/Else multiple functions
->Condition: If picked unit has (stat gain ability) equal to false & picked unit is a hero equal to true
->Then: Add (stat bonus) to (picked unit)
------> Set level of (stat bonus) for (picked unit) to level of (Aura) for (unit with Aura)
->Else: Do Nothing

To remove the effect:

Event: Every 1 seconds
Condition: n/a
Actions: Pick every unit inside (playable map area) and do (remove (stat bonus) from picked unit)

That should work, and it wont stack, even though the 2nd event removes it from all units, the 1st trigger runs more often, so as soon as it is removed it will be readded.
 
Status
Not open for further replies.
Top