FootysMaXeD
New Member
- Reaction score
- 0
Hello, i'm trying to make an item that has a similar effect to Cloak of Immolation.
It shoots 5 bolts of lightning to 5 random enemy units (not magic immune or buildings) every 3 seconds, dealing 50 damage.
I have tried creating the trigger for this item, but I cannot figure out a way to find the units that have this item correctly...
I sorta need this to be MUI, becauce it's an item that anyone can purchase.
Also, what would be the best way to create the SFX for the monsoon bolt on affected units.
Thank you
It shoots 5 bolts of lightning to 5 random enemy units (not magic immune or buildings) every 3 seconds, dealing 50 damage.
I have tried creating the trigger for this item, but I cannot figure out a way to find the units that have this item correctly...
Trigger:
- Events - Every 3 seconds of game time
- Set TempGroup1 = (Units owned by (Owner of (Item carried by (Matching unit) of type Zapper)) matching (((Matching unit) is A Hero) Equal to True))
- Unit Group - Pick every unit in TempGroup1 and do (Actions)
- Unit Group - Pick every unit in (Random 5 units from (Units within 400 of (Position of (Position of (Picked unit)) matching (((Matching unit) is A structure) Equal to False) and (((Matching unit) is Magic Immune) Equal to False))) and do (Actions)
- Loop - Actions
- Unit - Cause (Random unit from TempGroup1) to damage (Picked unit), dealing 50.00 damage of attack type Normal and damage type Universal.
- Loop - Actions
- Unit Group - Pick every unit in (Random 5 units from (Units within 400 of (Position of (Position of (Picked unit)) matching (((Matching unit) is A structure) Equal to False) and (((Matching unit) is Magic Immune) Equal to False))) and do (Actions)
- Custom script: call DestroyGroup(udg_TempGroup1)
I sorta need this to be MUI, becauce it's an item that anyone can purchase.
Also, what would be the best way to create the SFX for the monsoon bolt on affected units.
Thank you