- Joined
- Oct 4, 2011
- Messages
- 226
Hi. Ive been working more lately to get better at making abilities.. I have just made my first 'MUI' ability 100% on my own and I would like to get it leak-proofed. The abilities duration lasts 5 seconds, increases movement speed by +70 and adds a +5 Hitpoint regeneration bonus. Here they are
-
Fury
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Fury (Minotaur)
-
Actions
- Set Fury_CasterUnit = (Casting unit)
- Animation - Change Fury_CasterUnit's vertex coloring to (100.00%, 65.00%, 65.00%) with 0.00% transparency
- Unit Group - Add Fury_CasterUnit to Fury_CasterGroup
- Set Fury_CasterSpeed = (Default movement speed of Fury_CasterUnit)
- Set Fury_TimeReal = 5.00
- Custom script: set udg_Fury_IDInteger = GetHandleId(udg_Fury_CasterUnit)
- Hashtable - Save Handle OfFury_CasterUnit as (Key caster) of Fury_IDInteger in Fury_HashTable
- Unit - Set (Load (Key caster) of Fury_IDInteger in Fury_HashTable) movement speed to ((Default movement speed of (Load (Key caster) of Fury_IDInteger in Fury_HashTable)) + 70.00)
- Hashtable - Save Fury_TimeReal as (Key time) of Fury_IDInteger in Fury_HashTable
- Hashtable - Save Fury_CasterSpeed as (Key speed) of Fury_IDInteger in Fury_HashTable
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Fury timer <gen> is on) Equal to False
-
Then - Actions
- Trigger - Turn on Fury timer <gen>
- Else - Actions
-
If - Conditions
-
Events
-
Fury timer
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in Fury_CasterGroup) Greater than 0
-
Then - Actions
-
Unit Group - Pick every unit in Fury_CasterGroup and do (Actions)
-
Loop - Actions
- Set Fury_TempUnit = (Picked unit)
- Custom script: set udg_Fury_IDInteger = GetHandleId(udg_Fury_TempUnit)
- Set Fury_TimeReal = (Load (Key time) of Fury_IDInteger from Fury_HashTable)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Fury_TimeReal Greater than 0.00
-
Then - Actions
- Hashtable - Save (Fury_TimeReal - 0.03) as (Key time) of Fury_IDInteger in Fury_HashTable
-
Else - Actions
- Unit - Set (Load (Key caster) of Fury_IDInteger in Fury_HashTable) movement speed to (Default movement speed of (Load (Key caster) of Fury_IDInteger in Fury_HashTable))
- Animation - Change (Load (Key caster) of Fury_IDInteger in Fury_HashTable)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
- Hashtable - Clear all child hashtables of child Fury_IDInteger in Fury_HashTable
- Unit Group - Remove Fury_TempUnit from Fury_CasterGroup
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Fury_TimeReal Equal to 4.04
-
Then - Actions
- Unit - Set life of Fury_TempUnit to ((Life of Fury_TempUnit) + 5.00)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Fury_TimeReal Equal to 3.08
-
Then - Actions
- Unit - Set life of Fury_TempUnit to ((Life of Fury_TempUnit) + 5.00)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Fury_TimeReal Equal to 2.12
-
Then - Actions
- Unit - Set life of Fury_TempUnit to ((Life of Fury_TempUnit) + 5.00)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Fury_TimeReal Equal to 1.16
-
Then - Actions
- Unit - Set life of Fury_TempUnit to ((Life of Fury_TempUnit) + 5.00)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Fury_TimeReal Equal to 0.20
-
Then - Actions
- Unit - Set life of Fury_TempUnit to ((Life of Fury_TempUnit) + 5.00)
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
Unit Group - Pick every unit in Fury_CasterGroup and do (Actions)
-
Else - Actions
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events