• 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 that charge's ? Trigger?

Status
Not open for further replies.
Level 3
Joined
Feb 20, 2015
Messages
39
each time a hero attacks an enemy units he gain a charge 1/10 charge or so,when it reaches 10,he will deals 3x intelligence dmg to area/target..i cant think the trigger to do this but i know it possible..?
 
Level 20
Joined
Aug 13, 2013
Messages
1,696
It is possible. But you need DDS for detecting the damage event then a Unit Indexer for holding the current spell's charge data to a particular unit. Create an integer that if the charge's data reaches to 10 then pick every units in the area and damage it using the multiplied int attribute of a hero, reset the charge's data.
 
Status
Not open for further replies.
Top