Warcraft III resources & community, 2003–2006 · archived

Armor Change

3 posts
#1

Armor Change

Im not sure if this requires jass but i need a way were if a unit buys a specific item it will change their armor type. Then if they buy a different item it will change their armor to a different type :?:

(armor type meaning small, larger, or hero, and so on)

I dont want this to affect all the units owned by they player of the buying unit if that is possible
#2
Its impossiable to change the armor type of a unit WITH or WITH OUT jass.
You can though create 1 hero with diffrent armor types but that mean per hero you need 4 different units.
Also you could try using triggers to culculate damage a target would recieve.
#3
1. Create an ability of type Chaos
2. Create separate unit-type for unit bearing armor
3. Change morphed unit to unit from Step 2
4. Trigger when unit gets an item, add to it ability from Step 1.
5. If the item is dropped, remove the ability
6. Repeat this for every hero able to bear that item.