cr4xzZz
Also known as azwraith_ftL.
- Reaction score
- 51
GUI/JASS? - GUI
MUI - No
Leakless? - Yes
Lagless? - Yes
Inner Vitality
Description:
Magically unlocks the potential regenerative power within a target unit, healing its life force based upon its dominant attribute. If the target's health is below 40% it will heal faster. Lasts 16 seconds.
Level 1 - 5(15)% of dominant attribute + 2 hp regen per second
Level 2 - 10(30)% of dominant attribute + 4 hp regen per second
Level 3 - 15(45)% of dominant attribute + 6 hp regen per second
Level 4 - 20(60)% of dominant attribute + 8 hp regen per second
Note: I slightly edited the ability to regen on the attribute, which has more points than the others, not on the main. Map design was not made by me. It is a free Spell Template from TheHiveWorkshop for anyone to use.
Screenshots:
MUI - No
Leakless? - Yes
Lagless? - Yes
Inner Vitality
Description:
Magically unlocks the potential regenerative power within a target unit, healing its life force based upon its dominant attribute. If the target's health is below 40% it will heal faster. Lasts 16 seconds.
Level 1 - 5(15)% of dominant attribute + 2 hp regen per second
Level 2 - 10(30)% of dominant attribute + 4 hp regen per second
Level 3 - 15(45)% of dominant attribute + 6 hp regen per second
Level 4 - 20(60)% of dominant attribute + 8 hp regen per second
Note: I slightly edited the ability to regen on the attribute, which has more points than the others, not on the main. Map design was not made by me. It is a free Spell Template from TheHiveWorkshop for anyone to use.
Screenshots:
Code:
Inner Vitality
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Inner Vitality
Actions
Set Target = (Target unit of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Strength of Target (Include bonuses)) Greater than or equal to (Agility of Target (Include bonuses))
(Strength of Target (Include bonuses)) Greater than or equal to (Intelligence of Target (Include bonuses))
Then - Actions
Set Attribute = (Real((Strength of (Target unit of ability being cast) (Include bonuses))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Agility of Target (Include bonuses)) Greater than or equal to (Strength of Target (Include bonuses))
(Agility of Target (Include bonuses)) Greater than or equal to (Intelligence of Target (Include bonuses))
Then - Actions
Set Attribute = (Real((Agility of (Target unit of ability being cast) (Include bonuses))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Intelligence of Target (Include bonuses)) Greater than or equal to (Strength of Target (Include bonuses))
(Intelligence of Target (Include bonuses)) Greater than or equal to (Agility of Target (Include bonuses))
Then - Actions
Set Attribute = (Real((Intelligence of (Target unit of ability being cast) (Include bonuses))))
Else - Actions
Set Level = (Real((Level of Inner Vitality for (Triggering unit))))
Trigger - Turn on Inner Vitality HpS <gen>
Wait 16.00 seconds
Trigger - Turn off Inner Vitality HpS <gen>
Code:
Inner Vitality HpS
Events
Time - Every 0.99 seconds of game time
Conditions
(Target is alive) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Percentage life of Target) Greater than or equal to 40.00
Then - Actions
Unit - Set life of Target to ((Life of Target) + ((Attribute x (Level x 0.05)) + (Level x 2.00)))
Else - Actions
Unit - Set life of Target to ((Life of Target) + ((Attribute x (Level x 0.15)) + (Level x 2.00)))
EDIT: Ok, I found that the buff doesn't attach an effect. I'll try to fix it and upload the map again.
EDIT2: Updated. Hope I fixed the buff now...
EDIT3: Updated again. Fixed trigger thanks to Daxtreme.
EDIT4: Fixed again...
EDIT5: Another fix, removing a few bugs and one trigger. Changed to heal not based on Strength, but on the dominant attribute, because most of the times it is the main (except Naix in DotA).
EDIT2: Updated. Hope I fixed the buff now...
EDIT3: Updated again. Fixed trigger thanks to Daxtreme.
EDIT4: Fixed again...
EDIT5: Another fix, removing a few bugs and one trigger. Changed to heal not based on Strength, but on the dominant attribute, because most of the times it is the main (except Naix in DotA).