Hello guys i am trying to make this
Any explain or example of the trigger?
And Mostly,how do i check if unit has item and how do i make it to damage only enemy units?
Thanks.
EDIT: I guess i made it simple but didnt test it yet
Added to the dummy permanent immolation 300 aoe 120 dmg now ima gona test it
EDIT2: Omg it works ! Omg first time i did a trigger like it and it works !
You guys can still be useful for me for any suggest for remove leaks if there are etc
Whenever you cast a spell, a explosion of fire is realesed from the unit, dealing 120 damage to all units within 300.
Any explain or example of the trigger?
And Mostly,how do i check if unit has item and how do i make it to damage only enemy units?
Thanks.
EDIT: I guess i made it simple but didnt test it yet
Trigger:
- Hellfire Ring Ability
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- ((Triggering unit) has an item of type Hellfire Ring) Equal to (==) True
- Actions
- Set point = (Position of (Casting unit))
- Unit - Create 1 dummy ring item for Player 1 (Red) at point facing Default building facing (270.0) degrees
- Unit - Add a 0.40 second Generic expiration timer to (Last created unit)
- Events
Added to the dummy permanent immolation 300 aoe 120 dmg now ima gona test it
EDIT2: Omg it works ! Omg first time i did a trigger like it and it works !
You guys can still be useful for me for any suggest for remove leaks if there are etc