• 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] Spell Triggering

Status
Not open for further replies.
Level 9
Joined
Jun 13, 2010
Messages
365
NOTE: This post may be edited from time to time, adding new questions to prevent forum spamming.

Only question atm:

Can Spirit Link be cast on enemies and only link enemies together, making them share damage taken?
 
Last edited:
Level 23
Joined
Feb 6, 2014
Messages
2,466
Main Question Answer:
Yes that will work and your Druid_Starfire_AreaUnit will be set to s new variable every enumeration. Example Druid_Starfire_Group consists of unit Arthas and unit Lich. At first, lets assume Arthas gets picked first, AreaUnit = Arthas and Caster will damage Arthas if the conditions are true. Then Lich is picked next so AreaUnit is now equal to Lich and Caster will damage Lich if the condition is true. Conclusion is a variable can only hold one unit at a time.

Small Questions Answer:
1. I think it doesn't. But Elune's Grace does.
2. I think it does.
3. It makes the unit with Resistant Skin treated as a Hero, as simple as that.
 
Pick every unit in unit group is also a loop that enumerates all members of the group. The picked unit is the current unit that the loop is pointing to. So yes the picked unit is all the units inside the group and for efficiency picked unit is set into a variable.

edit: about ur question regarding what abilities are prevented. You can check it at advanced-> gameplay constants you will see there are fields that reads like this resistant skin prevents <some ability> [Y/N]? (that is if i remember correctly)
omg im way off
 
Last edited:
Status
Not open for further replies.
Top