• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Using defence instead of Armor as damage reduction.

Status
Not open for further replies.
Level 5
Joined
Jul 13, 2008
Messages
109
Hi. I have a problem with my idea of having armor giving defence instead of armor.. i use the "hardened skin" ability for all the armor like items and edited the ability with giving x defence depending on the items.. i also edited the ignored damage and made it 0.

The problem is that when there is more than one item in the inventory, only one of the items has effect while the other is completely usless... does anyknow know how to turn "stacking" off, or know how to edit armor so it reduces damage by point instead of by percentage?


Thanks for reading!!
 
You can't edit the armor system so far i know, so i suggest this:
1. make one "hardened skin" ability with 99 levels, which each hero will have
2. store each item's "armor" bonus
3. wheever hero picks/drops/buys etc.. any item, just go throught inventory, count all "armor" bonuses and then set the level of the ability to that value. It will work only for armor values 0-99 (be careful, setting level to 0 will propably remove the ability, and you will have to add it later)
 
Use hardened skin. 1-MAX levels. 1 per level.
Store level_Integer & adjust via triggers based on items/whatever.
 
Status
Not open for further replies.
Back
Top