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

[Spell] Armor Items

Status
Not open for further replies.
Level 6
Joined
Aug 14, 2016
Messages
174
Anyone know how to making a Armor Items:
Police Vest:+10 Armor, Also has stability to block damage, if you hit less 40 damage, lost 1 charges stability, if you hit than 40 damage, lost 2 charges stability, when stability reached 0, Vest will broken it!
 
Level 23
Joined
Dec 4, 2007
Messages
1,558
Requires something like Bribe's damage engine, to detect when attack damage is greater than 40.
The item with the amount of charges you want it to have +10 armor ability.

Some triggers of course, i can only suggest getting comfortable with the mentioned damage engine, it's mighty powerful and quite easy to use.
 
Level 6
Joined
Aug 14, 2016
Messages
174
Requires something like Bribe's damage engine, to detect when attack damage is greater than 40.
The item with the amount of charges you want it to have +10 armor ability.

Some triggers of course, i can only suggest getting comfortable with the mentioned damage engine, it's mighty powerful and quite easy to use.
Just an example, Hero has a lot of armor will very strong, so i want how to make it.
Edit:Bad grammar :p
 
Level 9
Joined
Apr 23, 2011
Messages
527
There are also Damage Detection systems which can find the amount of damage dealt.
Not in the editor right now but something like this:

Code:
if dds_event = 1 then:
     if dds_target has item PoliceVest and dds_damage >= 40 then:
        set item = (item carried by dds_target of type PoliceVest)
        set i = (charges remaining in item)
        set life of dds_target to (life of dds_target + 40)
        set charges remaining in item to (i - 1)
        if (i -1) = 0 then:
           destroy item
 
Last edited:
Status
Not open for further replies.
Top