- Joined
- Apr 8, 2016
- Messages
- 58
how to edit spell into MUI?
for example i have a imported spell in my map, but it's not MUI Spell, so, what should i do with this trigger, where the part i must change?
(im noob for triggering spell and sorry for my bad english )
for example i have a imported spell in my map, but it's not MUI Spell, so, what should i do with this trigger, where the part i must change?
(im noob for triggering spell and sorry for my bad english )
-
Skill Connect
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Starbrust Stream
-
Actions
- Set StarbrustCast = (Triggering unit)
- Set StarbrustTarg = (Target unit of ability being cast)
- Set StarbrustPoint[0] = (Position of StarbrustCast)
- Set StarbrustPoint[1] = (Position of StarbrustTarg)
- Set StarbrustAngle[0] = (Angle from StarbrustPoint[0] to StarbrustPoint[1])
- Set StarbrustAngle[1] = (Angle from StarbrustPoint[1] to StarbrustPoint[0])
- Set StarbrustPoint[2] = (StarbrustPoint[1] offset by -120.00 towards (Angle from StarbrustPoint[0] to StarbrustPoint[1]) degrees)
- Set StarbrustCount = 0
- Unit - Pause StarbrustTarg
- Unit - Pause StarbrustCast
- Unit - Make StarbrustTarg Invulnerable
- Unit - Make StarbrustCast Invulnerable
- Camera - Shake the camera for (Owner of StarbrustCast) with magnitude 30.00
- Camera - Shake the camera for (Owner of StarbrustTarg) with magnitude 30.00
- Wait 0.05 seconds
- Animation - Play StarbrustCast's spell animation
- Special Effect - Create a special effect attached to the hand left of StarbrustCast using war3mapImported\BlueCharge4.mdx
- Set StarbrustSFX[1] = (Last created special effect)
- Special Effect - Create a special effect attached to the hand right of StarbrustCast using war3mapImported\BlueCharge4.mdx
- Set StarbrustSFX[0] = (Last created special effect)
- Wait 0.05 seconds
- Animation - Play StarbrustCast's attack animation
- Animation - Change StarbrustCast's animation speed to 150.00% of its original speed
- Unit - Move StarbrustCast instantly to StarbrustPoint[2]
- Wait 0.70 seconds
- Trigger - Turn on Skill Connect End <gen>
- Custom script: call RemoveLocation(udg_StarbrustPoint[0])
- Custom script: call RemoveLocation(udg_StarbrustPoint[1])
- Custom script: call RemoveLocation(udg_StarbrustPoint[2])
-
Events
-
Skill Connect End
-
Events
- Time - Every 0.17 seconds of game time
- Conditions
-
Actions
- Set StarbrustCount = (StarbrustCount + 1)
- Set StarbrustPoint[0] = (Position of StarbrustCast)
- Set StarbrustPoint[1] = (Position of StarbrustTarg)
- Animation - Play StarbrustCast's attack 2 animation
- Animation - Play StarbrustCast's attack 1 animation
- Animation - Play StarbrustTarg's death animation
- Unit - Create 1 SlashOne for (Owner of StarbrustCast) at StarbrustPoint[1] facing (Random angle) degrees
- Animation - Change (Last created unit)'s size to (80.00%, 80.00%, 80.00%) of its original size
- Animation - Change (Last created unit)'s vertex coloring to (50.00%, 100.00%, 100.00%) with 15.00% transparency
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StarbrustCount Equal to 1
-
Then - Actions
- Unit - Create 1 BlinkNew for (Owner of StarbrustCast) at StarbrustPoint[0] facing StarbrustAngle[0] degrees
- Animation - Change (Last created unit)'s size to (120.00%, 120.00%, 120.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 Lightningnova for (Owner of StarbrustCast) at StarbrustPoint[0] facing StarbrustAngle[0] degrees
- Animation - Change (Last created unit)'s size to (120.00%, 120.00%, 120.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StarbrustCount Equal to 2
-
Then - Actions
- Unit - Create 1 effect for (Owner of StarbrustCast) at StarbrustPoint[0] facing StarbrustAngle[0] degrees
- Animation - Change (Last created unit)'s size to (70.00%, 70.00%, 70.00%) of its original size
- Unit - Add a 3.50 second Generic expiration timer to (Last created unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StarbrustCount Greater than or equal to 16
-
Then - Actions
- Unit - Create 1 SlashExplosion for (Owner of StarbrustCast) at StarbrustPoint[1] facing StarbrustAngle[0] degrees
- Animation - Change (Last created unit)'s size to (250.00%, 250.00%, 250.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 Lightningnova for (Owner of StarbrustCast) at StarbrustPoint[1] facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (150.00%, 150.00%, 150.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 effectDeckai for (Owner of StarbrustCast) at StarbrustPoint[1] facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (200.00%, 200.00%, 200.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Make StarbrustTarg Vulnerable
- Unit - Make StarbrustCast Vulnerable
- Unit - Cause StarbrustCast to damage StarbrustTarg, dealing (Real(((Agility of StarbrustCast (Include bonuses)) x 100))) damage of attack type Spells and damage type Divine
- Unit - Unpause StarbrustTarg
- Unit - Unpause StarbrustCast
- Special Effect - Destroy StarbrustSFX[1]
- Special Effect - Destroy StarbrustSFX[0]
- Camera - Stop swaying/shaking the camera for (Owner of StarbrustCast)
- Camera - Stop swaying/shaking the camera for (Owner of StarbrustTarg)
- Animation - Change StarbrustCast's animation speed to 100.00% of its original speed
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_StarbrustPoint[0])
- Custom script: call RemoveLocation(udg_StarbrustPoint[1])
-
Events
Last edited: