E: Unit acquires an item
A: If/Then/Else
-If
C: Item-type of (Item being manipulated) equal to <ItemA>
C: (Hero manipulating item) has item of type <ItemB>
-Then
A: Unit - add ability <+5 Armor>
A: Unit - add ability <20% speed>
-Else
--If
C: Item-type of (Item being manipulated) equal to <ItemB>
C: (Hero manipulating item) has item of type <ItemA>
--Then
A: Unit - add ability <+5 Armor>
A: Unit - add ability <20% speed>
--Else
A: Do nothing
That will add +5 armor and 20% bonus attack or movement speed when you acquire itemA or B... then use this to remove them:
E: Unit loses an item
C: Item-Type of (Item being manipulated) equal to <ItemA>
-OR-
C: Item-Type of (item being manipulated) equal to <ItemB>
A: Unit - Remove <+5 armor>
A: Unit - Remove <20% speed>
This is only off the top of my head, so if it doesnt work let me know
