Difference between revisions of "Osiris/API/ItemRemoveRune"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented ItemRemoveRune)
(No difference)

Revision as of 23:14, 22 February 2018

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.
Notes
  • This query is new in DOS2 Patch 6.
See Also