- Joined
- Dec 16, 2017
- Messages
- 344
Hello guys, i am wondering of how can i make this item have the position be MUI?
-
DamageSetFusion
-
Events
- Unit - A unit Is attacked
-
Conditions
- ((Attacking unit) has an item of type |cffbd00ffDamage Set Fusion|r) Equal to True
- ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True
-
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 3
-
Then - Actions
- Hero - Modify Agility of (Attacking unit): Add 1
- Special Effect - Create a special effect attached to the origin of (Attacking unit) using Abilities\Spells\Items\AIlm\AIlmTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Else - Actions
-
If - Conditions
-
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 2
-
Then - Actions
- Set DMGSpellsPosition[8] = (Position of (Attacking unit))
- Unit - Create 1 Dummy Empty for (Owner of (Attacking unit)) at DMGSpellsPosition[8] facing Default building facing degrees
- Unit - Add Damage Set Fusion (Item) to (Last created unit)
- Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Human Sorceress - Slow (Attacked unit)
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_DMGSpellsPosition[8])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events