• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

I need a Locust Swarm spell

Status
Not open for further replies.
Level 4
Joined
Jul 22, 2010
Messages
63
Hey guys, I need a spell exactly like the Locust Swarm, but I dont need the life recovering in the end and the most important, I want to each locust damage the enemy for 1/4 of caster intelligence.

ps1: the spell must be MUI (MPI atleast) since one hero per player

Thanks in advance

Information:
8 locusts lasting 4 secs, they must move around the hero in an area of 400-600
anyone that gets within a range of 30 of any locust, will take a damage exactly 1/4 of caster intelligence
 
Level 6
Joined
Aug 4, 2012
Messages
193
Set a variable for your hero like:

  • Events: A unit starts the effect of an ability
  • Conditions: Ability being cast equal to YourLocustAbility
  • Actions: set udg_VarHero = GetSpellAbilityUnit
Then make another trigger:

  • Events: A unit is attacked
  • Conditions: Owner of attacking unit equal to owner of VarHero
  • Actions: Unit - Cause attacking unit to damage attacked unit dealing intelligence of VarHero of type whatever you like type what ever you like.
Note: Just make sure that your locust unit has it's attack damage point and cast backs set to 0.0, so when the trigger starts, the timing on the attack and the damage will be exactly the same.
 
Last edited:
Level 2
Joined
Nov 20, 2012
Messages
6
Hi Im a noob. where can i go to ask someone about a problem when importing models im just getting shadows and cant click on it. and the map says the file cant be found. can you point me in the right derection plz? thankyou sry for the annoyance
 
Status
Not open for further replies.
Top