[JASS] Armor Change

Status
Not open for further replies.

ElvenScout

E

ElvenScout

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
 
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.
Back
Top