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

Armor reduced when the damage deals..

Status
Not open for further replies.
Level 3
Joined
Jan 1, 2013
Messages
43
Melting Strike 1
  • Events
    • Unit - A unit Is attacked
  • Conditions
    • ((Triggering unit) is A structure) Equal to False
  • Actions
    • Set MS_Timer = 5.00
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • ((Triggering unit) is in MS_Detect) Not equal to True
      • Then - Actions
        • Unit Group - Add (Triggering unit) to MS_Detect
        • Trigger - Add to Melting Strike 2 <gen> the event (Unit - (Picked unit) Takes damage)
      • Else - Actions
Melting Strike 2
  • Events
  • Conditions
    • (Level of Melting Strike [E] for (Damage source)) Greater than 0
  • Actions
    • Set MS_Count = (MS_Count + 1)
    • Unit - Add Melting Srike Corruption to (Picked unit)
    • Unit - Set level of Melting Srike Corruption for (Picked unit) to MS_Count
    • Trigger - Turn on Melting Strike Timer <gen>
Melting Strike 3
  • Events
    • Time - Every 0.50 seconds of game time
  • Conditions
  • Actions
    • Set MS_Timer = (MS_Timer - 0.50)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • MS_Timer Less than or equal to 0.00
      • Then - Actions
        • Unit - Remove Melting Srike Corruption from (Picked unit)
        • Trigger - Turn off (This trigger)
      • Else - Actions
It's doesn't work...:vw_sad:
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
Why dont u use the Orb of Lighting spell instead? Change the target spell from Purge to Faeri Fire (the Night Elf's spell that minus armor of the enemy). It's easier to make than using trigger.
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
orbs have bug in them, if you order unit to attack ground and not direct unit the passive will not proc

you could just use Bribes damage detection system and detect when damage is dealt with the trigger, run a simple check for the ability and do the other stuff
 
Level 3
Joined
Jan 1, 2013
Messages
43
Why dont u use the Orb of Lighting spell instead? Change the target spell from Purge to Faeri Fire (the Night Elf's spell that minus armor of the enemy). It's easier to make than using trigger.

Look at the trigger, i want each damage deals increase the armor corruption...
 
Status
Not open for further replies.
Top