Well, to combine items, use this trigger:
Trigger:
- Godlsayer
- Events
- Unit - A unit enters Forge <gen>
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) has an item of type Godslayer Crossguard) Equal to True
- ((Triggering unit) has an item of type Godslayer Blade) Equal to True
- ((Triggering unit) has an item of type Godslayer Hilt) Equal to True
- Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Godslayer Crossguard)
- Item - Remove (Item carried by (Triggering unit) of type Godslayer Blade)
- Item - Remove (Item carried by (Triggering unit) of type Godslayer Hilt)
- Hero - Create Godslayer and give it to (Triggering unit)
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Else - Actions
Now you just have to hope that when you buy the excess item, it is in the units inventory for half a second before it is dropped as the units inventory is full. Otherwise, make two mini recipes using half of your items each. Then combine those two mini recipes into one big recipe (Kind of like the Mekansm Recipe from Dota: Requires you to have made hood of regenertion recipe and Nathreziem Buckler Recipe then combines the two.)
Hope that helped
If you want it to work with a powerup, create that powerup, set "use automtically when aqcuired" = true, and "actively used" = true, the give it the ability "penguin squeek" and then use the event "a unit uses an item" and then check if it's ur item.
I say penguin squeek for lol value, and it's an instant cast ability that does absolutely nothing.