feat(D.5.2): ItemInstance.Effects + ItemRepository.UpdateIntProperty
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
52306d9268
commit
77f64d7925
3 changed files with 62 additions and 1 deletions
|
|
@ -136,6 +136,13 @@ public sealed class ItemInstance
|
|||
public uint IconId { get; set; } // 0x06xxxxxx
|
||||
public uint IconUnderlayId{ get; set; } // "magic" underlay
|
||||
public uint IconOverlayId { get; set; } // "enchanted" overlay
|
||||
/// <summary>
|
||||
/// UiEffects bitfield (retail PublicWeenieDesc._effects, acclient.h:37183).
|
||||
/// Drives the icon's effect-overlay recolor (Magical=0x1 … Nether=0x1000).
|
||||
/// CreateObject-only (weenieFlags 0x80) + live PublicUpdatePropertyInt(0x02CE);
|
||||
/// appraise never carries it. 0 = no effect.
|
||||
/// </summary>
|
||||
public uint Effects { get; set; }
|
||||
public int StackSize { get; set; } = 1;
|
||||
public int StackSizeMax { get; set; } = 1;
|
||||
public int Burden { get; set; } // per-stack total
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue