🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
This is a mini-pack of spell, composed of 4 spells (one of them is not custom, but it fit with the other hero's spells).
You can easility edit it, but I request credits if you do.
Remember to give credits if you use my spells in your maps!
by pippo
Here are triggers:
Arcane Bolt
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Arcane Bolt
Actions
-------- Here we set the point --------
Set AB_Point = (Position of (Target unit of ability being cast))
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at AB_Point facing Default building facing degrees
-------- Make that it will die --------
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add Mana Burn to (Last created unit)
-------- Setting the right level of the spell --------
Unit - Set level of Mana Burn for (Last created unit) to (Level of Arcane Bolt for (Triggering unit))
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Night Elf Demon Hunter - Mana Burn (Target unit of ability being cast)
-------- Clearing point leak --------
Custom script: call RemoveLocation (udg_AB_Point)
Arcane Power
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Arcane Power
Actions
-------- Here we set the point --------
Set AP_Point = (Target point of ability being cast)
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at AP_Point facing Default building facing degrees
-------- Make that it will die --------
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add War Stomp to (Last created unit)
-------- Setting the right level of the spell --------
Unit - Set level of War Stomp for (Last created unit) to (Level of Arcane Power for (Triggering unit))
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
-------- Special Effect --------
Special Effect - Create a special effect at AP_Point using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
-------- Clear special effect --------
Special Effect - Destroy (Last created special effect)
-------- Integer: With this we know how many waves there will be --------
For each (Integer AP_Integer) from 1 to (2 + ((Level of Arcane Power for (Triggering unit)) x 2)), do (Actions)
Loop - Actions
-------- Setting the point: it has an angle based on the number of the waves. --------
Set AP_WPoint = (AP_Point offset by 50.00 towards ((Facing of (Triggering unit)) + ((Real(AP_Integer)) x (360.00 / (2.00 + (2.00 x (Real((Level of Arcane Power for (Triggering unit))))))))) degrees)
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at AP_Point facing AP_WPoint
-------- Make that it will die --------
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add Shockwave to (Last created unit)
-------- Setting the right level of the spell --------
Unit - Set level of Shockwave for (Last created unit) to (Level of Arcane Power for (Triggering unit))
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave AP_WPoint
(Level of Arcane Resort for (Attacking unit)) Greater than 0
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(1 + (Level of Arcane Resort for (Attacking unit))) Greater than or equal to (Random integer number between 1 and 10)
Then - Actions
-------- Here we set the point --------
Set AR_Point = (Position of (Attacking unit))
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Attacking unit)) at AR_Point facing Default building facing degrees
-------- Make that it will die --------
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add Purge to (Last created unit)
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Orc Shaman - Purge (Attacked unit)
-------- Special Effect --------
Special Effect - Create a special effect attached to the weapon of (Attacking unit) using Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
-------- Clearing Special Effect --------
Special Effect - Destroy (Last created special effect)
-------- Special Effect --------
Special Effect - Create a special effect attached to the overhead of (Attacking unit) using Abilities\Spells\Undead\ReplenishMana\SpiritTouchTarget.mdl
-------- Clearing Special Effect --------
Special Effect - Destroy (Last created special effect)
-------- Changing the mana of the hero --------
Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) + (10.00 x (Real((Level of Arcane Resort for (Attacking unit))))))
Set AB_Point = (Position of (Target unit of ability being cast))
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at AB_Point facing Default building facing degrees
-------- Make that it will die --------
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add Mana Burn to (Last created unit)
-------- Setting the right level of the spell --------
Unit - Set level of Mana Burn for (Last created unit) to (Level of Arcane Bolt for (Triggering unit))
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Night Elf Demon Hunter - Mana Burn (Target unit of ability being cast)
-------- Clearing point leak --------
Custom script: call RemoveLocation (udg_AB_Point)
Arcane Power
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Arcane Power
Actions
-------- Here we set the point --------
Set AP_Point = (Target point of ability being cast)
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at AP_Point facing Default building facing degrees
-------- Make that it will die --------
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add War Stomp to (Last created unit)
-------- Setting the right level of the spell --------
Unit - Set level of War Stomp for (Last created unit) to (Level of Arcane Power for (Triggering unit))
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
-------- Special Effect --------
Special Effect - Create a special effect at AP_Point using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
-------- Clear special effect --------
Special Effect - Destroy (Last created special effect)
-------- Integer: With this we know how many waves there will be --------
For each (Integer AP_Integer) from 1 to (2 + ((Level of Arcane Power for (Triggering unit)) x 2)), do (Actions)
Loop - Actions
-------- Setting the point: it has an angle based on the number of the waves. --------
Set AP_WPoint = (AP_Point offset by 50.00 towards ((Facing of (Triggering unit)) + ((Real(AP_Integer)) x (360.00 / (2.00 + (2.00 x (Real((Level of Arcane Power for (Triggering unit))))))))) degrees)
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at AP_Point facing AP_WPoint
-------- Make that it will die --------
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add Shockwave to (Last created unit)
-------- Setting the right level of the spell --------
Unit - Set level of Shockwave for (Last created unit) to (Level of Arcane Power for (Triggering unit))
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave AP_WPoint
(Level of Arcane Resort for (Attacking unit)) Greater than 0
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(1 + (Level of Arcane Resort for (Attacking unit))) Greater than or equal to (Random integer number between 1 and 10)
Then - Actions
-------- Here we set the point --------
Set AR_Point = (Position of (Attacking unit))
-------- Creating dummy --------
Unit - Create 1 Dummy for (Owner of (Attacking unit)) at AR_Point facing Default building facing degrees
-------- Make that it will die --------
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-------- Adding spell --------
Unit - Add Purge to (Last created unit)
-------- Order it to cast the spell --------
Unit - Order (Last created unit) to Orc Shaman - Purge (Attacked unit)
-------- Special Effect --------
Special Effect - Create a special effect attached to the weapon of (Attacking unit) using Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
-------- Clearing Special Effect --------
Special Effect - Destroy (Last created special effect)
-------- Special Effect --------
Special Effect - Create a special effect attached to the overhead of (Attacking unit) using Abilities\Spells\Undead\ReplenishMana\SpiritTouchTarget.mdl
-------- Clearing Special Effect --------
Special Effect - Destroy (Last created special effect)
-------- Changing the mana of the hero --------
Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) + (10.00 x (Real((Level of Arcane Resort for (Attacking unit))))))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.