- Joined
- Dec 5, 2015
- Messages
- 24
Hi,I made a backpack for a hero.Actually there is no problem with it except one thing.I want that if the backpack uses an item,Its output becomes for the hero(Not for backpack).
For example:
If a player uses a potion which is in the backpack and it heals 3000 hp.I want that hero to heal 3000hp.
Or if an item makes unit invulnerable and if player is using it while its in backpack...I want its effect to be done to hero..not to backpack.
In an other words:If there are Unit A and Unit B.If Unit B uses an item (Only active ability like potions or heals or anythings else like that) i want the ability of that item who used by Unit B becomes for Unit A.
I searched everywhere but i couldn't find a way.But i am sure its possible Because of saw it in many maps.But i want the standard way for doing that,Fastest way.And Best way.
For example:
If a player uses a potion which is in the backpack and it heals 3000 hp.I want that hero to heal 3000hp.
Or if an item makes unit invulnerable and if player is using it while its in backpack...I want its effect to be done to hero..not to backpack.
In an other words:If there are Unit A and Unit B.If Unit B uses an item (Only active ability like potions or heals or anythings else like that) i want the ability of that item who used by Unit B becomes for Unit A.
I searched everywhere but i couldn't find a way.But i am sure its possible Because of saw it in many maps.But i want the standard way for doing that,Fastest way.And Best way.