• 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.

World editor is giving me the finger.

Status
Not open for further replies.
Level 1
Joined
Apr 23, 2015
Messages
3
So I decided to make my first hero and use an eridar warlock as a base. I couldnt leave out their signature move finger of pain and kept finger of death as an ultimate. the problem is, whenever i cast either of these spells, it activates them both. now 700 damage on one target is fine and all but i dont want to burn all my mana on my new heros basic spell. Im pretty sure this is because they are classified as a single spell, but just two variations which makes sense, i just need help figuring out how to make the game view them as two entirely different spells. They are not in the same catagory in my editor files. (finger of pain was copied, then pasted into my custom spells. finger of death was reworked where it was since i figured archmonde wouldnt mind)
 
Level 3
Joined
Apr 23, 2015
Messages
22
You can base your second spell on Chain Lightning for example. Replace Lightning Effect with Finger of Death (that would make the ray red) and set number of bounces to 1. Also make sure their hotkeys do not ovelap.
 
Level 1
Joined
Apr 23, 2015
Messages
3
Thank you for the swift reply :) That is something I thought of and already did, however i kind of liked the added on feature of it destroying the corpse also. Is there a way i can get my chain lightning to destroy the corpse?
 
Level 3
Joined
Apr 23, 2015
Messages
22
Are you on friednly terms with Trigger Editor? I can suggest something simple like that.
  • Finger of Death
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Finger of Death
    • Actions
      • Unit - Make Target unit of ability being cast Explode on death
This, however, will result in any death causing in explosion, if you don't kill you target right a way.
 
Level 3
Joined
Apr 23, 2015
Messages
22
So does that mean if i dont kill them, they will explode anyway?
No. It means they will explode on death, even if not killed by Finger of Death. There is a more profound version of a trigger that does the same, but checks if target will die first.
Advanced version.
  • Finger of Death v2
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Finger of Death
    • Actions
      • Set FoD_Target = Target unit of ability being cast
      • Set FoD_Damage = 500
      • If - Conditions
        • Health of FoD_Target less or equal to FoD_Damage
      • Then - Actions
        • Unit - Make FoD_Target Explode on death
Replace FoD_Damage with whatever damage your ability does. If there are multiple levels, that's also easily doable. Heroes don't explode, so magic resistance should not pose a problem here.
 
Status
Not open for further replies.
Top