🏆 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!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
There's a spell that I've made. This spell should be MUI , MPI , leakless and bugless.
NOTE: My spell is called Aura and there's nothing related to aura in warcraft 3 (like unholy aura)
~Aura~
The Sorcerer call divine's power to help him into his combat by sending a ray of light from the heaven which go hurt the ground. But the ray have special effect, If there's more ally in the area of effect , it will heal ally and if there's more enemy it will damage enemy.
Level 1: Heal/Deal 100.
Level 2: Heal/Deal 200.
Level 3: Heal/Deal 300.
-------- Those things are important for MUI, So , just don't touch to that --------
-------- As you can see, there's 2 integer variable which look same. Yes they are same but have 2 different function into the trigger so keep both --------
-------- The first one will be used as the Index, we set it +1 because the first time someone cast it will be 1 and the second time it will be 2 , so the values of variables won't get replaced by the new one --------
-------- The second will be require for recycle the index because the index can't go to infinity --------
-------- Those two next variable are there to make their position random --------
-------- I recommand you to don't touch execpt if you want to change the Aoe , if you want it , change the "400.00" its the maximum they can go --------
-------- All below this , except remove leak , is the part if there's more enemy than ally , it damage enemy and if there's more ally it heal them --------
Set AuDamageGroup = (Units within 400.00 of AuOrbPoint[Au] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching unit) belongs to an enemy of AuPlayer[Au]) Equal to True))))
Set AuHealGroup = (Units within 400.00 of AuOrbPoint[Au] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching unit) belongs to an ally of AuPlayer[Au]) Equal to True))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in AuDamageGroup) Greater than or equal to (Number of units in AuHealGroup)
Then - Actions
Unit Group - Pick every unit in AuDamageGroup and do (Actions)
Loop - Actions
Set AuTarget = (Picked unit)
Special Effect - Create a special effect attached to the chest of AuTarget using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause AuCaster[Au] to damage AuTarget, dealing AuDamageHeal[Au] damage of attack type Spells and damage type Normal
Else - Actions
Unit Group - Pick every unit in AuHealGroup and do (Actions)
Loop - Actions
Set AuTarget = (Picked unit)
Special Effect - Create a special effect attached to the chest of AuTarget using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Unit - Set life of AuTarget to ((Life of AuTarget) + AuDamageHeal[Au])
-You used Integer A in the first trigger, maybe you could replace this with a variable.
-Good triggering and also good/acceptable documentation
-In my opinion too much specialeffects, but ok
the spell auto detected my "A001 ability" (or whatever) and auto filled it in
so if you want to download this
just be AWARE THAT THIS WILL HAPPEN MOST LIKELY
_All you have to do is go through the trigger and replace the spell it auto detected with the "aura spell" (the one you copy over from the map that is the actual ability)
_and also the 3 dummy's werent in place in the code either so you have to put them in (one time each into 3 different places where it was missing)
_also i believe this spell doesnt heal you or your units or allies. IT DOES DO DAMAGE AND LOOKS GREAT.
edit: still cant figure out how to make it heal. everything is working though maybe ill make my own trigger "when this is cast. wait 5 seconds and heal allies 25% of max health" or something xP
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.