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

Is this A Leakless spell?

Status
Not open for further replies.
Level 10
Joined
Jan 24, 2009
Messages
606
  • What happens Holy Blessing
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set Range = 500.00
      • Set TempSpellGroupUnit = (Units within Range of (Position of Caster) matching ((((Matching unit) belongs to an ally of (Owner of Caster)) Equal to True) and ((((Matching unit) is Mechanical) Equal to False) and (((Matching unit) is A structure) Equal to False))))
      • Set Heal = (1.00 x (Real((Level of Holy Blessing for Caster))))
      • Unit Group - Pick every unit in TempSpellGroupUnit and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + Heal)
I woud Apriciate a Quick reply:)
 
Level 10
Joined
Jan 24, 2009
Messages
606
OK:)

  • Frost Bolt
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Bolt
    • Actions
      • Set Frost_Hero = (Triggering unit)
      • Set Frost_Target = (Target unit of ability being cast)
      • Set Frost_Pos = (Position of Frost_Target)
      • Set Frost_Int = (Real((Intelligence of Frost_Hero (Include bonuses))))
      • Set Frost_Eqation = (((Real((Level of Frost Bolt for Frost_Hero))) x Frost_Damage) + Frost_Int)
      • Set Frost_Damage = 125.00
      • Set Frost_AoE = 300.00
      • Set Frost_Group = (Units within Frost_AoE of Frost_Pos matching (((Frost_Target belongs to an enemy of (Owner of Frost_Hero)) Equal to True) and ((((Matching unit) is Mechanical) Equal to False) and (((Matching unit) is A structure) Equal to True))))
      • Unit - Cause Frost_Hero to damage Frost_Target, dealing Frost_Eqation damage of attack type Spells and damage type Cold
      • Special Effect - Create a special effect attached to the chest of Frost_Target using Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit Group - Pick every unit in Frost_Group and do (Actions)
        • Loop - Actions
          • Unit - Cause Frost_Hero to damage (Picked unit), dealing 100.00 damage of attack type Spells and damage type Cold
          • Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
          • Special Effect - Destroy (Last created special effect)
      • Custom script: call DestroyGroup(udg_Frost_Group)
      • Custom script: call RemoveLocation(udg_Frost_Pos)
Any1 tell me why this not working???? It only take's damage on the Targeted Unit:( it's supose to take damage on Every unit around him too:(

Edit: Nvm I figured.....
 
Status
Not open for further replies.
Top