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
| Name | Value | Description |
|---|---|---|
Success | 0 | The item is on the pawn and imbued into the requested ability. |
UnknownItem | 1 | No item definition with that internal name exists. |
ItemNotImbuable | 2 | The item exists but has no imbue behaviour. Grant it with the plain AddItem(name, enhanced) overload instead. |
NoAbilityInSlot | 3 | The pawn has no ability in the requested slot. |
AbilityRejected | 4 | The 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. |
GrantFailed | 5 | The item could not be granted (already owned, disabled, or no free slot). |
ItemNotOwned | 6 | The pawn does not own the item being imbued. |