• 🏆 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!

AoE damage spell based on intelingence ?

Status
Not open for further replies.
Level 8
Joined
May 27, 2007
Messages
170
T'would have to be triggered my friend. I suggest you read up on a few custom spell tutorials.

http://www.hiveworkshop.com/forums/showthread.php?t=7334

That one has a section on AoE spells.

In the mean time, I guess your basic template would be something like this:

  • Untitled Trigger 001
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Blizzard
    • Actions
      • Unit Group - Pick every unit in (Units within 512.00 of (Target point of ability being cast)) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - (2.00 x (Real((Intelligence of (Casting unit) (Exclude bonuses))))))
Don't try using that now because without basic knowledge of the requirements of triggered spells it will go horribly wrong. Get reading those tutorials!

Good Luck

P.S Double posting in different forums is probably a bad idea o_O
 
Level 3
Joined
Jun 13, 2006
Messages
45
Instead of Unit - Set life, I would use a trigger with Unit - Damage area.
You can set a delay before the damage, the aoe and damage count, the attack and damage type. Very useful for custom spells.
 
Level 4
Joined
Jul 23, 2007
Messages
129
Jusy FYI, when using the 'cause unit to damage unit' action you can make the damage ignore armor reduction by setting the dmg type to spirit link.
 
Status
Not open for further replies.
Top