How to have a chance to reduce armor?

nabbig2

New Member
Reaction score
43
I want an item ability, so that when you have the item, you have a chance to reduce the enemies armor momentarily, how would I do it? Thanks.
 

Sinan2

New Member
Reaction score
9
Code:
E: A unit is attacked
C: Attacking Unit Has (The Sunderer) Equal to True
A: If (Random integer between 1 and 100 Lesser then or Equal To 15)
    Then
    Set TmpPoint = Position of Attacked unit
    Create A Sunder Dummy for Owner Of Attacking Unit at TmpPoint
    Unit - Add a Generic Expiration Timer to Last Created Unit
    Unit - Order Sunder Dummy to Night Elf Druid - Faerie Fire Attacked Unit
    Else
There might be little differences in the commands, but you get the picture ;)
 

Romek

Super Moderator
Reaction score
964
Code:
E: A unit is attacked
C: Attacking Unit Has (The Sunderer) Equal to True
A: If (Random integer between 1 and 100 Lesser then or Equal To 15)
    Then
    Set TmpPoint = Position of Attacked unit
    Create A Sunder Dummy for Owner Of Attacking Unit at TmpPoint
    Unit - Add a Generic Expiration Timer to Last Created Unit
    Unit - Order Sunder Dummy to Night Elf Druid - Faerie Fire Attacked Unit
    Else
There might be little differences in the commands, but you get the picture ;)

Thats pretty much how I'd do it.
Remember to remove the Location, and change the buffs and stuff of faerie fire :D
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
why using trigger?
just change faerie fire to item ability and add it to the item - simple and clean
 

nabbig2

New Member
Reaction score
43
Code:
E: A unit is attacked
C: Attacking Unit Has (The Sunderer) Equal to True
A: If (Random integer between 1 and 100 Lesser then or Equal To 15)
    Then
    Set TmpPoint = Position of Attacked unit
    Create A Sunder Dummy for Owner Of Attacking Unit at TmpPoint
    Unit - Add a Generic Expiration Timer to Last Created Unit
    Unit - Order Sunder Dummy to Night Elf Druid - Faerie Fire Attacked Unit
    Else
There might be little differences in the commands, but you get the picture ;)

Thanks, what function do I use to get to Attacking units has item equal to true?
 

Romek

Super Moderator
Reaction score
964
Boolean, Unit has item. If i remember correctly.
 

nabbig2

New Member
Reaction score
43
Thanks, just 2 more questions. How do I get this part:

HTML:
Unit - Order Sunder Dummy to Night Elf Druid - Faerie Fire Attacked Unit

I can get the order, but where is the option to order Sunder Dummy?


Also, how many seconds do I put to the generic timer? Thanks.
 

Andyoyo

TH.net Regular
Reaction score
22
Just so you know, you'll be able to see invisible units under this effect with that method
 
Reaction score
107
Couldn't orb of lightning and any unit cast ability that reduces armour be used for this? For example cripple or faerie fire? saves on the trigger but introduces the attack-move problem...
 

Weyrling

New Member
Reaction score
25
Alternate method:
Use the 'Orb of Slow' item ability, and put the 'orb of corruption' ability into it, then just choose your % and throw it into an item.
 

rafaxik

New Member
Reaction score
2
Alternate method:
Use the 'Orb of Slow' item ability, and put the 'orb of corruption' ability into it, then just choose your % and throw it into an item.

You meant Orb of Lightning (new). He must base his ability on it.

Remember it'll be an Orb effect.
 

Kling[o]

New Member
Reaction score
7
Don't use faerie fire because it show invisible unit (use it if it's ok to see invis unit)
 

Ayanami

칼리
Reaction score
288
Whats with the necro? We understand you're a skilled Necromancer, but this isn't the place to display your necromancy skills.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top