I have tried to make a trigger that adds a research level to an upgrade every time you pick up a special item. And another upgrade that decrease the attack range when dropping the item.
Upgrade that increases range:
Upgrade that increases range:
- Events - Unit- A unit Acquires an item
- Conditions - (item-type of(item being manipulated)) Equal to WoodenBow
- Actions - Player- Set the current research level of RangeIncrease upgrade to (0+1) for owner of ( Triggering unit))
- Events - Unit- A unit Loses an item
- Conditions - (item-type of(item being manipulated)) Equal to WoodenBow
- Actions - Player- Set the current research level of RangeDecrease upgrade to (0+1) for owner of ( Triggering unit))