Osiris/API/ItemRemoveRune
From Divinity Engine Wiki
Full Definition(s)
- auery ItemRemoveRune([in](CHARACTERGUID)_Character, [in](ITEMGUID)_Item, [in](INTEGER)_Slot, [out](ITEMGUID)_Rune)
Description
Removes the rune from rune slot _Slot of item _Item. If _Character is valid, the removed rune will be added to its inventory.
See ItemGetRuneItemTemplate for the interpretation of the _Slot parameter.
Return Values
- Success/Failure: Fails if _Item is invalid, if _Slot is >= than the number of slots the item has, or if no rune is inserted in the specified slot. Specifying a value < 0 for _Slot will result in undefined behaviour.
- _Rune: The removed rune. (newly created from the appropriate root template, not equal the inserted item)
Notes
- This query is new in DOS2 Patch 6.