- Joined
- Nov 25, 2021
- Messages
- 3
can someone help me to do that:
the area damage of the incinerate detonation is a percentage of the intelligence of the hero who applied the spell
I've tried it on my own but I'm not very good at programming that
I did things like this::
But I can't make it work and I don't know where I'm making mistakes.
Help me!
and sorry if my english is very bad
the area damage of the incinerate detonation is a percentage of the intelligence of the hero who applied the spell
I've tried it on my own but I'm not very good at programming that
I did things like this::
- Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 300.00 at (Position of (Target unit of ability being cast)), dealing (1.00 x (Real ((Intelligence of (Triggering unit) (Include bonuses)) ))) damage of attack type Magic and damage type Fire
-
Nameless Trigger 013
-
Events
- Unit - A unit Die
-
Terms
- ((Triggering unit) has buff Spontaneous Combustion) Equal to True
-
Actions
-
Unit Group - Pick every unit in (Units within 200.00 of (Position of (Triggering unit))) and do (Actions)
-
Loop: Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Yes: Conditions
- ((Picked unit) belongs to an ally of (Triggering player)) Equal to False
-
Then: Actions
- Unit Group - Remove (Picked unit) from (Last created unit group)
-
Others: Actions
- Unit - Cause Aurolette 0140 <gen> to damage (Picked unit), dealing (0.15 x (Percentage life of (Triggering unit))) damage of attack type Magic and damage type Fire
-
Yes: Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop: Actions
-
Unit Group - Pick every unit in (Units within 200.00 of (Position of (Triggering unit))) and do (Actions)
-
Events
But I can't make it work and I don't know where I'm making mistakes.
Help me!
and sorry if my english is very bad