Darthfett
Aerospace/Cybersecurity Software Engineer
- Reaction score
- 614
Enflame
Created by Darthfett
Fire Spell
Created by Darthfett
Passive
Screenshot:
Description:
Gives the Hero a 5%/10%/15% chance to enflame upon attacking,
releasing a fury of firebolts from him, dealing 60 damage to nearby units.
releasing a fury of firebolts from him, dealing 60 damage to nearby units.
-MPI
-MUI
-Leak-less
-Lag-less
-Created in GUI
Trigger:
- Enflame
- Events
- Unit - A unit Is attacked
- Conditions
- (Level of Enflame for (Attacking unit)) Greater than 0
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Random integer number between 1 and 100) Less than or equal to ((Level of Enflame for (Attacking unit)) x 5)
- Then - Actions
- Set TEMP_Point1 = (Position of (Attacking unit))
- Sound - Play Enflame <gen> at 100.00% volume, attached to (Attacking unit)
- Special Effect - Create a special effect attached to the origin of (Attacking unit) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
- Special Effect - Destroy (Last created special effect)
- For each (Integer A) from 1 to 8, do (Actions)
- Loop - Actions
- Set TEMP_Real = (45.00 x (Real((Integer A))))
- Set TEMP_Point2 = (TEMP_Point1 offset by 16.00 towards TEMP_Real degrees)
- Set TEMP_Point3 = (TEMP_Point1 offset by 200.00 towards TEMP_Real degrees)
- Unit - Create 1 Enflame Dummy (Ability) for (Owner of (Attacking unit)) at TEMP_Point2 facing TEMP_Real degrees
- Unit - Set level of Enflame (Dummy) for (Last created unit) to (Level of Enflame for (Attacking unit))
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Neutral Tinker - Cluster Rockets TEMP_Point3
- Custom script: call RemoveLocation (udg_TEMP_Point2)
- Custom script: call RemoveLocation (udg_TEMP_Point3)
- Loop - Actions
- Set TEMP_Group = (Units within 400.00 of TEMP_Point1 matching (((Owner of (Matching unit)) is an enemy of (Owner of (Attacking unit))) Equal to True))
- Unit Group - Pick every unit in TEMP_Group and do (Actions)
- Loop - Actions
- Unit - Cause (Attacking unit) to damage (Picked unit), dealing 60.00 damage of attack type Spells and damage type Fire
- Loop - Actions
- Custom script: call DestroyGroup(udg_TEMP_Group)
- Custom script: call RemoveLocation (udg_TEMP_Point1)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Attachments
-
43.2 KB Views: 1,498
-
47.6 KB Views: 540