Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I said for amount of time, so timed abilityShould it be a passive, or timed ability? More information would be useful.
Add Critical Strike

Events


Unit - A unit starts the effect of an ability

Conditions


(Ability being cast) Equal to Berzerk

Actions


Trigger - Turn off (This trigger)


Set TempUnit = (Casting unit)


Unit - Add Custom Critical Strike to TempUnit


Countdown Timer - Start Berzerk as a One-shot timer that will expire in 12.00 seconds
Remove Critical Strike

Events


Countdown Timer - Berzerk expires

Conditions

Actions


Unit - Remove Custom Critical Strike from TempUnit


Trigger - Turn on (Add Critical Strike)
I said for amount of time, so timed ability
You could try this :
- Create a custom Critical Strike ability and set its position to (x0,y-11)
- Create another custom ability based on Berzerk ability.
- Make a trigger that adds the custom Critical Strike ability whenever the unit cast the Berzerk ability.
Add Critical Strike
Events
Unit - A unit starts the effect of an ability
Conditions
(Ability being cast) Equal to Berzerk
Actions
Trigger - Turn off (This trigger)
Set TempUnit = (Casting unit)
Unit - Add Custom Critical Strike to TempUnit
Countdown Timer - Start Berzerk as a One-shot timer that will expire in 12.00 seconds
Remove Critical Strike
Events
Countdown Timer - Berzerk expires
Conditions
Actions
Unit - Remove Custom Critical Strike from TempUnit
Trigger - Turn on (Add Critical Strike)
Rage

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Rage

Actions


Set RageCaster = (Triggering unit)


Special Effect - Create a special effect attached to the left hand of RageCaster using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl


Set RageEffect1 = (Last created special effect)


Special Effect - Create a special effect attached to the right hand of RageCaster using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl


Set RageEffect2 = (Last created special effect)


Special Effect - Create a special effect attached to the weapon of RageCaster using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl


Set RageEffect3 = (Last created special effect)


Countdown Timer - Start RageTimer as a One-shot timer that will expire in 20.00 seconds


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Level of Rage for RageCaster) Equal to 1



Then - Actions




Unit - Add Critical Strike (item) LvL 1 to RageCaster




Unit - Add Item Attack Speed Bonus (Greater) LvL 1 to RageCaster



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Level of Rage for RageCaster) Equal to 2



Then - Actions




Unit - Add Critical Strike (item) LvL 2 to RageCaster




Unit - Add Item Attack Speed Bonus (Greater) LvL 2 to RageCaster



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Level of Rage for RageCaster) Equal to 3



Then - Actions




Unit - Add Critical Strike (item) LvL 3 to RageCaster




Unit - Add Item Attack Speed Bonus (Greater) LvL 3 to RageCaster



Else - Actions
Rage Timer

Events


Time - RageTimer expires

Conditions

Actions


Trigger - Run Remove buffs <gen> (checking conditions)
Rage Caster Dies

Events


Unit - A unit Dies

Conditions


(Triggering unit) Equal to RageCaster

Actions


Trigger - Run Remove buffs <gen> (checking conditions)
Remove buffs

Events

Conditions

Actions


Special Effect - Destroy RageEffect1


Special Effect - Destroy RageEffect2


Special Effect - Destroy RageEffect3


Unit - Remove Critical Strike (item) LvL 1 from RageCaster


Unit - Remove Critical Strike (item) LvL 2 from RageCaster


Unit - Remove Critical Strike (item) LvL 3 from RageCaster


Unit - Remove Item Attack Speed Bonus (Greater) LvL 1 from RageCaster


Unit - Remove Item Attack Speed Bonus (Greater) LvL 2 from RageCaster


Unit - Remove Item Attack Speed Bonus (Greater) LvL 3 from RageCaster
I will check it laterMy bad, didn't read.
You beat me to it
Here is mine at least (map attached if you want to copy):
Rage
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Rage
Actions
Set RageCaster = (Triggering unit)
Special Effect - Create a special effect attached to the left hand of RageCaster using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
Set RageEffect1 = (Last created special effect)
Special Effect - Create a special effect attached to the right hand of RageCaster using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
Set RageEffect2 = (Last created special effect)
Special Effect - Create a special effect attached to the weapon of RageCaster using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
Set RageEffect3 = (Last created special effect)
Countdown Timer - Start RageTimer as a One-shot timer that will expire in 20.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Rage for RageCaster) Equal to 1
Then - Actions
Unit - Add Critical Strike (item) LvL 1 to RageCaster
Unit - Add Item Attack Speed Bonus (Greater) LvL 1 to RageCaster
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Rage for RageCaster) Equal to 2
Then - Actions
Unit - Add Critical Strike (item) LvL 2 to RageCaster
Unit - Add Item Attack Speed Bonus (Greater) LvL 2 to RageCaster
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Rage for RageCaster) Equal to 3
Then - Actions
Unit - Add Critical Strike (item) LvL 3 to RageCaster
Unit - Add Item Attack Speed Bonus (Greater) LvL 3 to RageCaster
Else - Actions
Rage Timer
Events
Time - RageTimer expires
Conditions
Actions
Trigger - Run Remove buffs <gen> (checking conditions)
Rage Caster Dies
Events
Unit - A unit Dies
Conditions
(Triggering unit) Equal to RageCaster
Actions
Trigger - Run Remove buffs <gen> (checking conditions)
Remove buffs
Events
Conditions
Actions
Special Effect - Destroy RageEffect1
Special Effect - Destroy RageEffect2
Special Effect - Destroy RageEffect3
Unit - Remove Critical Strike (item) LvL 1 from RageCaster
Unit - Remove Critical Strike (item) LvL 2 from RageCaster
Unit - Remove Critical Strike (item) LvL 3 from RageCaster
Unit - Remove Item Attack Speed Bonus (Greater) LvL 1 from RageCaster
Unit - Remove Item Attack Speed Bonus (Greater) LvL 2 from RageCaster
Unit - Remove Item Attack Speed Bonus (Greater) LvL 3 from RageCaster
This is not MUI btw, not sure if you need it to be or not.
Critical strike and Attack speed is based off item abilities so they won't show in your ability bar. I made 1 custom ability per level, and edited their properties accordingly. Download the map if you want to check the spells etc.
Edit: Nvm lol, critical strike shows in the ability bar. Follow Warseekers advice about spell positions then.
Yeah but uh how to include herę ability lvl? And give better critical at lvl 2 of abilityYou could try this :
- Create a custom Critical Strike ability and set its position to (x0,y-11)
- Create another custom ability based on Berzerk ability.
- Make a trigger that adds the custom Critical Strike ability whenever the unit cast the Berzerk ability.
Add Critical Strike
Events
Unit - A unit starts the effect of an ability
Conditions
(Ability being cast) Equal to Berzerk
Actions
Trigger - Turn off (This trigger)
Set TempUnit = (Casting unit)
Unit - Add Custom Critical Strike to TempUnit
Countdown Timer - Start Berzerk as a One-shot timer that will expire in 12.00 seconds
Remove Critical Strike
Events
Countdown Timer - Berzerk expires
Conditions
Actions
Unit - Remove Custom Critical Strike from TempUnit
Trigger - Turn on (Add Critical Strike)
Just follow what @FeelsGoodMan said. Make 3 custom critical strike ability (lvl 1,lvl2,etc...) and add them to the caster whenever he cast that ability.Yeah but uh how to include herę ability lvl? And give better critical at lvl 2 of ability
If (All Conditions are True) then do (Then Actions) else do (Else Actions)

If - Conditions


(Level of Berzerk for (TempUnit) Equal to 1

Then - Actions


Unit - Add Custom Critical Strike (Level 1) to (Triggering unit)

Else - Actions