Guys... i have a question.. how do i make my own custom spells ? plzzz.. it's very urgent !!!! :confused::confused::(
You must have the frozen throne expansion set...
If you do so, open the object editor (renamed version of the unit editor). You'll see 6 tabs here (7 if you're using patch 1.15 or up): Units, Items, Destructibles, Doodads, Abilities, (Buffs/effects), and Upgrades. At the abilities tab you can edit/create new abilities. with the buffs/effect tab, you can add new buffs or effects to that ability. However: most advanced spell making works with triggers -->
You create a new (dummy) ability. depending on if you want a region ability, an ability in which you have to select a unit, or an ability like 'roar', take an ability that coresponds with your dependencies. e.g. if you want a region ability, start with flamestrike as basic ability. Otherwise take "Holy light" or "roar". Now set all "effects" of the spell to 0. e.g. damage dealt = 0. Also change wether it should be an item, hero or unit ability.
Open the trigger editor now, and create a new trigger. Events: a unit starts (finishes, whatever) casting an ability Conditions: ability being cast equal to MyCustomAbility (the ability you just created) Actions: here you paste the actions that should happen. e.g. unit - kill targetted unit instantly
Hmm... ok... i get it... but i want to make a blink strike ( blink to the target unit and deal bonus damage )... how do i do that ?
* do you want to blink and then deal bonus damage for e.g. the next 10 seconds? * do you want to blink by targetting a target and instantly dealing the target damage? * Do you want to blink by targetting a target and then deal bonus damage for e.g. the next 10 seconds?
I advice you to pick the blink ability as a dummy ability anyway. If you did not choose for the first option, then I'd change the "Stats - Targets allowed" value into e.g. Enemy, ground If it damage should be dealt instantly, I'd suggest to make a trigger: Events: Unit finishes casting an ability Conditions: Ability being cast equal to "Blink Strike" Actions: Unit - Set HP of "target unit of ability being cast" to HP of ""target unit of ability being cast" - "e.g. 100"".
Well, I'm not out yet of the dealing bonus damage for 10 seconds... I don't have an idea atm on how to do that... I'd say: give the casting unit the roar effect for 10 seconds, but I don't know how to do that (I'm no spellspecialist at all ;) ) I'll think about it... But meanwhile I'd suggest to find another solution or ask someone else...