- Joined
- Aug 17, 2014
- Messages
- 106
Essentially, I am trying to create the following spell :
Flame Nova: Cause a nova of fire to explode outwards from the targeted area dealing (1.5 x Intelligence) damage to all units caught within. Additionally, units caught within flame nova are set Ablaze and will explode after 3 seconds dealing (.5 x Intelligence) damage to all nearby allies.
I have two abilities created Flame Nova itself and a dummy spell for the Ablaze debuff.
The spell actually works as intended, but not as precisely i'd like whenever there are more than about 4 or 5 units within the spell the Ablaze part does not seem to go off at all, but when it is less than that it works 100% fine. I'm sure there's a way to fix this using arrays, but unfortunately i'm still a relative novice.
Triggers I am using for now:
Flame Nova: Cause a nova of fire to explode outwards from the targeted area dealing (1.5 x Intelligence) damage to all units caught within. Additionally, units caught within flame nova are set Ablaze and will explode after 3 seconds dealing (.5 x Intelligence) damage to all nearby allies.
I have two abilities created Flame Nova itself and a dummy spell for the Ablaze debuff.
The spell actually works as intended, but not as precisely i'd like whenever there are more than about 4 or 5 units within the spell the Ablaze part does not seem to go off at all, but when it is less than that it works 100% fine. I'm sure there's a way to fix this using arrays, but unfortunately i'm still a relative novice.
Triggers I am using for now:
-
Flame Nova
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Flame Nova (Disciple of Fire)
-
-
Actions
-
Set Damage = (Real((Intelligence of (Triggering unit) (Include bonuses))))
-
Set Caster_FlameNova = (Triggering unit)
-
Special Effect - Create a special effect at (Target point of ability being cast) using war3mapImported\FireNova2.mdx
-
Special Effect - Set Scale of (Last created special effect) to 0.50
-
Unit Group - Pick every unit in (Units within 300.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
-
Loop - Actions
-
Set Target_FlameNova = (Picked unit)
-
Unit - Cause (Triggering unit) to damage (Picked unit), dealing (1.50 x Damage) damage of attack type Magic and damage type Normal
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
-
Set Temp_Unit_Flamenova = (Last created unit)
-
Unit - Add a 0.50 second Generic expiration timer to Temp_Unit_Flamenova
-
Unit - Add Ablaze (Flame Nova effect) to Temp_Unit_Flamenova
-
Unit - Order Temp_Unit_Flamenova to Undead Banshee - Curse (Picked unit)
-
Trigger - Run Flame Nova Ablaze <gen> (checking conditions)
-
-
-
-
-
Flame Nova Ablaze
-
Events
-
Conditions
-
Actions
-
Wait 3.00 seconds
-
Special Effect - Create a special effect attached to the origin of Target_FlameNova using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
-
Unit Group - Pick every unit in (Units within 175.00 of (Position of Target_FlameNova) matching (((Matching unit) belongs to an enemy of (Owner of Caster_FlameNova)) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit - Cause Caster_FlameNova to damage (Picked unit), dealing (0.50 x Damage) damage of attack type Magic and damage type Normal
-
-
-
-
Last edited: