• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Cold damage via triggers broken? (Not adding slowed effect)

Status
Not open for further replies.
Level 13
Joined
Feb 5, 2018
Messages
568
I made this very simple spell. I remember that in some version 1.3X the cold damage trough triggers actually added the "Slowed" effect from cold damage.

It's been some time since I created anything, I reinstalled my windows and forgot to save my stuff into cloud. So I could remember wrong.

See the spell below. Latest patch, HD graphics.


  • Ice Blast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Ice Blast
    • Actions
      • Set VariableSet IceBlast_Caster = (Triggering unit)
      • Set VariableSet IceBlast_Owner = (Owner of IceBlast_Caster)
      • Set VariableSet IceBlast_Level = (Level of Ice Blast for IceBlast_Caster)
      • Set VariableSet IceBlast_Damage = (90.00 x (Real((Level of Ice Blast for IceBlast_Caster))))
      • Set VariableSet IceBlast_Loc = (Target point of ability being cast)
      • Special Effect - Create a special effect at IceBlast_Loc using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
      • Set VariableSet IceBlast_SFX = (Last created special effect)
      • Special Effect - Set Scale of IceBlast_SFX to 3.50
      • Special Effect - Destroy IceBlast_SFX
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 250.00 of IceBlast_Loc matching (((Matching unit) belongs to an enemy of IceBlast_Owner.) Equal to True).) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is Mechanical) Equal to False
              • ((Picked unit) is invulnerable) Equal to False
              • ((Picked unit) is A structure) Equal to False
              • ((Picked unit) is Magic Immune) Equal to False
              • ((Picked unit) is alive) Equal to True
            • Then - Actions
              • Set VariableSet IceBlast_Target = (Picked unit)
              • Unit - Cause IceBlast_Caster to damage IceBlast_Target, dealing IceBlast_Damage damage of attack type Spells and damage type Cold
            • Else - Actions
              • -------- Filter only --------
      • Custom script: call RemoveLocation(udg_IceBlast_Loc)
 
Level 13
Joined
Feb 5, 2018
Messages
568
Yea I mimic the effect by casting a modified slow with a dummy unit. Sad that it didn't work directly with the triggered cold damage thought.
 
Status
Not open for further replies.
Top