unit touch dmg

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
hi i wanted to ask if i make a unit get damaged by touching can i make it
damage by its defence (i mean damage+defence reduction)
 

TheCrystal

New Member
Reaction score
36
Triggers

You'll have to use triggers for that, or use a spell that'll do that. Like the Currupted Orb thing, (has a buff that lower's targets armor on attack).
 

Sim

Forum Administrator
Staff member
Reaction score
534
What do you want to do exactly? Have the damage reduced by a percentage?

Because the armor in the game already takes care of that.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
yes it is but if i make it damage by a touch(with triggers) i cant make it a normal damage i can only make it damage a certain amount of number i want to make it damage like a normal attack and make it possible for the touching unit to lower dmg by its defence amount
 

mems

Memory Lapse
Reaction score
24
No when u demage a unit with triggers it is asking you what kind of demage that you are dealing. Its for to determine the reduce of any armor type.

You dont need to reduce the damge again its outomatically done.

If u want to do a full demage just use chaos/global attack type.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
i mean when i make like a trigger that unit is being touched by monster than
it make the unit lose hp probably so i cant make it like get unit attacked like normal attack of unit that getting reduced throught defence
 

Master

Thou shall be helped by...The Black Adder!
Reaction score
72
some trigger sample:
Code:
Events:
Unit - Unit is attacked
Conditions:
- Add one here
Actions:
Unit - Set life of (attacking unit) to (current health (including bonuses (-1)))
EDIT:You can ignore it,Chocobo's solution fits you the most.

~Have a nice and comfortable day.
 

Master

Thou shall be helped by...The Black Adder!
Reaction score
72
Chocobo is offline, so I will remind you:
Command aura with negatives decreases damage of units within its range.
Devotation aura with negatives decreases armor of units within its range.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
k thx just let me ask a sec is it getting less dmg through better armor?
 

Chocobo

White-Flower
Reaction score
409
[del]k thx just let me ask a sec is it getting less dmg through[/del] better [del]armor?[/del]

LOL


He wrote :

[del]Devotation aura with negatives[/del] decreases [del]armor of units within its range.[/del]

^^
Less Armor = Less Armor Reduction = More damage taken from physical attacks (not spells).
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top