- Joined
- Dec 16, 2017
- Messages
- 418
Hello guys, i am trying to make some items run with mui instances, for example, i have some items that give's a chance when you attack or you are attacked to give permanent attributes, but if 2 players have the same item, it will be give the stats to the first player making the item, even if he drops the item or sells it, how can i make it MUI?
Maybe the tutorial from bellow can help me into that?
OF: A few months ago i've found a MUI tutorial that had a lot of pictures in it with a gnoll, lady vashj and other units, it explained very well how you can make a mui spell, i can't find it now, does someone knows where i can find this tutorial again?
-
Level 2 Damage Tier Set
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
((Attacking unit) has an item of type |c0000FF00Damage|r |c00FF7F00Armor|r Set [|cffffcc00Level 2|r]) Equal to True
-
((Attacked unit) belongs to an ally of (Owner of (Attacking unit))) Equal to False
-
-
Actions
-
Set L2DTS = (L2DTS + 1)
-
Set Level2DamageTierSetProc[L2DTS] = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Level2DamageTierSetProc[L2DTS] Less than or equal to 1
-
-
Then - Actions
-
Hero - Modify Agility of Level2DamageTierSetOwner[L2DTS]: Add 1
-
Special Effect - Create a special effect at Level2DamageTierSetPosition[L2DTS] using Abilities\Spells\Items\AIlm\AIlmTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
Custom script: call RemoveLocation(udg_Level2DamageTierSetPosition[L2DTS])
-
-
-
OwnerShip Damage Set 2
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to |c0000FF00Damage|r |c00FF7F00Armor|r Set [|cffffcc00Level 2|r]
-
-
Actions
-
Set Level2DamageTierSetOwner[L2DTS] = (Triggering unit)
-
Set Level2DamageTierSetPosition[L2DTS] = (Position of Level2DamageTierSetOwner[L2DTS])
-
-
Maybe the tutorial from bellow can help me into that?
OF: A few months ago i've found a MUI tutorial that had a lot of pictures in it with a gnoll, lady vashj and other units, it explained very well how you can make a mui spell, i can't find it now, does someone knows where i can find this tutorial again?