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

[Trigger] How to x3 Stats onto Ability?

Status
Not open for further replies.
Level 1
Joined
Jun 21, 2009
Messages
282
Hey, does anyone know how to times stats onto abilitys? Rep+

For Example: The hero would have lets say 20 agility, x3 Agility ONLY onto the Storm Bolt ability, which would come out 60 Damage from the agility.


If anyone would link me some pics to this trigger that would be great!!
 
Level 1
Joined
Jun 21, 2009
Messages
282
Which trigger is the Action - Damage Target for (agility of Casting unit ) x 3?

The Action - Damage Target for (agility of Casting unit ) x 3, which action is that?
 
Last edited by a moderator:
Level 10
Joined
Jul 22, 2007
Messages
261
  • Storm Hammer Agility
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Storm Bolt
    • Actions
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Triggering unit) (Include bonuses)))) x 3.00) damage of attack type Spells and damage type Lightning
THis is the Thing...
The Damage Target is almost at the bottom of the Unit Actions
 
Level 10
Joined
Jul 22, 2007
Messages
261
You have to click on the value for damage and then click on the 1.00, then click on Convesion - Interger to Real then go up till you see Hero - Hero Attribute then click n strength and set it to agility, then set the unit to triggering unit, then click OK till you get to Real(Agility of (Triggering Unit) (include bonuses))) + 1.00 switch the + to a x and set 1 to 3 if u need pictures contact me tommorow im going to sleep >.>
 
Level 10
Joined
Jul 22, 2007
Messages
261
Create a new unit.
Change the units model to _.mdl (_ is a space) -(nothing so it dosent show up)
Give it the locust ability.(this makes it so the unit cannot be clicked on and has 0 collision
Make it so some spawn.
Add them to a uit group.
Make a trigger that damages all units around the dummies (exept allies)
Heres an example
  • Frost Wave1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Wave
    • Actions
      • Set Frost_Wave_Caster = (Triggering unit)
      • Wait 0.66 seconds
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 200.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 400.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 800.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 1000.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 300.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 500.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 700.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 900.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Frost_wave_Dummys
      • Countdown Timer - Start Frost_Wave_Timer as a One-shot timer that will expire in 0.00 seconds
  • Frost Wave2
    • Events
      • Time - Frost_Wave_Timer expires
    • Conditions
    • Actions
      • Unit Group - Pick every unit in Frost_wave_Dummys and do (Actions)
        • Loop - Actions
          • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
          • Unit - Cause Frost_Wave_Caster to damage circular area after 0.00 seconds of radius 250.00 at (Position of (Picked unit)), dealing ((Real((Intelligence of Frost_Wave_Caster (Include bonuses)))) x 2.00) damage of attack type Spells and damage type Cold
      • Wait 1.00 seconds
      • Unit Group - Pick every unit in Frost_wave_Dummys and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
          • Unit Group - Remove (Picked unit) from Frost_wave_Dummys
this might leak idk?
 
Status
Not open for further replies.
Top