- Joined
- Jun 10, 2019
- Messages
- 69
Hi all,
I currently have a skillshot that seems to be working as hoped for, but I don't think it's currently MUI. I'm hoping to rectify this problem, and could definitely use help with this matter!
The triggers are as follows:
Thanks in advance!
I currently have a skillshot that seems to be working as hoped for, but I don't think it's currently MUI. I'm hoping to rectify this problem, and could definitely use help with this matter!
The triggers are as follows:
-
Non MUI Skillshot Cast
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Non MUI Skill Shot Example
-
-
Actions
-
Set NonMUISkillshotCaster = (Triggering unit)
-
Set NonMUISkillshotAngle = (Angle from (Position of (Triggering unit)) to (Target point of ability being cast))
-
Set NonMUISkillshotStart = (Position of NonMUISkillshotCaster)
-
Unit - Create 1 Dummy for (Owner of NonMUISkillshotCaster) at ((Position of NonMUISkillshotCaster) offset by 50.00 towards NonMUISkillshotAngle degrees) facing NonMUISkillshotAngle degrees
-
Set NonMUISkillshotProjectile = (Last created unit)
-
Special Effect - Create a special effect attached to the overhead of NonMUISkillshotProjectile using Abilities\Weapons\LordofFlameMissile\LordofFlameMissile.mdl
-
Set NonMUISkillshotSpecialEffect = (Last created special effect)
-
Trigger - Turn on Non MUI Skillshot Impact <gen>
-
-
-
Non MUI Skillshot Impact
-
Events
-
Time - Every 0.02 seconds of game time
-
-
Conditions
-
(NonMUISkillshotProjectile is alive) Equal to True
-
-
Actions
-
Unit - Move NonMUISkillshotProjectile instantly to ((Position of NonMUISkillshotProjectile) offset by 20.00 towards NonMUISkillshotAngle degrees)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between NonMUISkillshotStart and (Position of NonMUISkillshotProjectile)) Greater than or equal to 1050.00
-
-
Then - Actions
-
Unit - Remove NonMUISkillshotProjectile from the game
-
Special Effect - Destroy NonMUISkillshotSpecialEffect
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Unit Group - Pick every unit in (Units within 90.00 of (Position of NonMUISkillshotProjectile)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) belongs to an enemy of (Owner of NonMUISkillshotCaster)) Equal to True
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) is alive) Equal to True
-
-
Then - Actions
-
Unit - Cause NonMUISkillshotProjectile to damage (Picked unit), dealing (100.00 x (Real((Level of Non MUI Skill Shot Example for NonMUISkillshotCaster)))) damage of attack type Spells and damage type Normal
-
Unit - Remove NonMUISkillshotProjectile from the game
-
Special Effect - Destroy NonMUISkillshotSpecialEffect
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
-
-
-
-
-
-
Thanks in advance!