Skip to main content

ImbueResult

Outcome of an imbue attempt. Every value other than Success leaves the pawn exactly as it was - a rejected imbue never grants the item.

public enum ImbueResult

Namespace: DeadworksManaged.Api
Source: Enums/ImbueResult.cs#L7

Values​

NameValueDescription
Success0The item is on the pawn and imbued into the requested ability.
UnknownItem1No item definition with that internal name exists.
ItemNotImbuable2The item exists but has no imbue behaviour. Grant it with the plain AddItem(name, enhanced) overload instead.
NoAbilityInSlot3The pawn has no ability in the requested slot.
AbilityRejected4The ability exists, but this item cannot be imbued into it - for example an ImbueEffects.ActiveNonUltimate item aimed at the hero's ultimate, or an active item aimed at a passive ability.
GrantFailed5The item could not be granted (already owned, disabled, or no free slot).
ItemNotOwned6The pawn does not own the item being imbued.