soul_reaper
New Member
- Reaction score
- 12
This is my first tutorial in which I will teach some GUI users how to make triggered spells.
1- What is a triggered spell?
2- Dummies
3- Passives Abilities
4- Mass Abilities
5-Actives Ablities
1- What is a triggered spell?
A triggered spell is an ability that you can't just create in the Object Editor and require some triggers.For example, a blink spell that deal damage.
Many advanced spells makers use the "Channel" ability which is perfect for custom spells.But since this tutorial is for beginners, we will stick with normal abilities.
2- Dummies :
Dummies are unit with no model, no shadow, no attack and the "Locust" Abiltiy.They are used to cast some spells.They can also be used as the Spell's Missiles.
When you make a dummy, be sure that :
Create a dummy unit.Set
Let's start the most important part : Triggering
3- Passive Abilities :
To create triggered passive abilities, it's recommended to use evasion or critical strike with 0% chance.
We will create 2 type of Passive Ability to show you some examples :
1- Battle Thirst :
Gives 15% chance when attacking to increases the attack speed.
So, what are we going to do?
First make a Passive Ability based on evasion and set Data - Chance to Evade to 0%.Change the icon, description etc...
This ability will be the "dummy ability" which the only role is to be shown in the unit.
Second, Make another ability Based on Bloodlust.Set movespeed and scaling to 0 and change the attack to whatever you want, set Range to 99999.We will call it "Battle Thirst (Cast)"
Remember to set the manacost and cooldown to 0
Third, Make a trigger like this :
Congratulation!
You have made your first triggered spell :thup:
PS : You can change the attack speed of the bloodlust, make it increase movespeed or cause the unit bigger too.And edit the
To have more or less chance to trigger the spell.
You can also base the spell casted by the dummy with Unholy Frenzy, so the unit takes damage but has increased attack speed...Try practice yourself some triggering before I finsh the tutorial
Or even, if you're capable of doing this, make another spell different from this one.
1- What is a triggered spell?
2- Dummies
3- Passives Abilities
4- Mass Abilities
5-Actives Ablities
1- What is a triggered spell?
A triggered spell is an ability that you can't just create in the Object Editor and require some triggers.For example, a blink spell that deal damage.
Many advanced spells makers use the "Channel" ability which is perfect for custom spells.But since this tutorial is for beginners, we will stick with normal abilities.
2- Dummies :
Dummies are unit with no model, no shadow, no attack and the "Locust" Abiltiy.They are used to cast some spells.They can also be used as the Spell's Missiles.
When you make a dummy, be sure that :
- The Dummy has "Locust" Ability so we cannot select it.
- The dummy has no model and no shadow (This isn't always necessary if for example you want iceballs that cast frost nova in a random location)
- The dummy doesn't attack enemy units
Create a dummy unit.Set
to 0.After that, name your unit "dummy" and do a trigger like mine"Art-Animation-Blend Time
Art-Animation-Cast BackSwing
Art-Animation-Cast Point"
Trigger:
- Init Dummy
- Events
- Map initialization
- Conditions
- Actions
- Unit - Create 1 Dummy for Neutral Passive at (Center of (Playable map area)) facing Default building facing degrees
- Set Dummy = (Last created unit)
- Events
Let's start the most important part : Triggering
3- Passive Abilities :
To create triggered passive abilities, it's recommended to use evasion or critical strike with 0% chance.
We will create 2 type of Passive Ability to show you some examples :
1- Battle Thirst :
Gives 15% chance when attacking to increases the attack speed.
So, what are we going to do?
First make a Passive Ability based on evasion and set Data - Chance to Evade to 0%.Change the icon, description etc...
This ability will be the "dummy ability" which the only role is to be shown in the unit.
Second, Make another ability Based on Bloodlust.Set movespeed and scaling to 0 and change the attack to whatever you want, set Range to 99999.We will call it "Battle Thirst (Cast)"
Remember to set the manacost and cooldown to 0
Third, Make a trigger like this :
Trigger:
- Battle Thirst
- Events
- Unit - A unit Is attacked
- Conditions
- (Unit-type of (Attacking unit)) Equal to Berserk
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Random integer number between 1 and 100) Less than or equal to 20
- Then - Actions
- Unit - Add Battle Thirst (Cast) to Dummy
- Unit - Order Dummy to Orc Shaman - Bloodlust (Attacking unit)
- Unit - Remove Battle Thirst (Cast) from Dummy
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Congratulation!
You have made your first triggered spell :thup:
PS : You can change the attack speed of the bloodlust, make it increase movespeed or cause the unit bigger too.And edit the
Trigger:
- If - Conditions
- (Random integer number between 1 and 100) Greater than or equal to 15
To have more or less chance to trigger the spell.
You can also base the spell casted by the dummy with Unholy Frenzy, so the unit takes damage but has increased attack speed...Try practice yourself some triggering before I finsh the tutorial
Or even, if you're capable of doing this, make another spell different from this one.