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

[JASS] Armor Change

Status
Not open for further replies.
Level 1
Joined
Aug 23, 2006
Messages
1
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
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
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.
 
Level 5
Joined
May 9, 2006
Messages
162
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.
 
Status
Not open for further replies.
Top