[Spell] Simple GUI Spell help - Chain lighting

Status
Not open for further replies.
Level 3
Joined
Sep 9, 2022
Messages
11
New to the map editor, trying to make a spell using Bribes GUI Spell System, each time a chain lightning affects/damages a unit I want it to create a dummy at my location to cast a Spell (storm bolt in this case) at each unit affected/damaged

I already have the dummy that casts but so far I only know how to make it effect the spell target. What would be the most efficient way to make this trigger?

I also tried Damage Engine but I dont know how to detect specific damage from an ability to cause a trigger. It would usually lead to the storm bolt triggering itself and looping until the unit dies.
 
Last edited:
Level 45
Joined
Feb 27, 2007
Messages
5,578
I also tried Damage Engine but I dont know how to detect specific damage from an ability to cause a trigger.
Dummy cast the original chain lightning (hero casts a fake spell that does nothing but choose a target), allowing the dummy to live to the end of the chaining. Check when a unit is damaged by a dummy-type unit that has Chain Lightning level > 0. Cast your other spell with a different dummy unit.
 
Status
Not open for further replies.
Top