- Joined
- Oct 23, 2011
- Messages
- 182
hello
I've found this really, really weird glitch with UnitAddItemById.
When it is used in conjunction with RemoveItem() [using some kind of item with same abilities], the item's ability somehow binds to buying unit so that whenever the unit is using an item, the binded ability activates too. For instance, if a scroll of haste is binded this way, a unit with inventory full of healing potions will activate scroll of haste on using each potion (the unit does not have scroll of haste, neither does it have the ability) Anyone know why this is happening and any solution to it
I've found this really, really weird glitch with UnitAddItemById.
When it is used in conjunction with RemoveItem() [using some kind of item with same abilities], the item's ability somehow binds to buying unit so that whenever the unit is using an item, the binded ability activates too. For instance, if a scroll of haste is binded this way, a unit with inventory full of healing potions will activate scroll of haste on using each potion (the unit does not have scroll of haste, neither does it have the ability) Anyone know why this is happening and any solution to it