Function: SetSpellDisplayEffect(spell, idx, field, value)
Description: Prepares one display-effect field value before publishing the edit under the spell mutex, marking the record for custom-spell persistence.
Parameters:
spell(Spell) - Lua spell object whose backing template owns the effect.idx(int32) - Zero-based effect index. Negative/out-of-range indexes are rejected without truncation.field(string) - Case-insensitivedescription,bulletorpercentage.value(string or uint8) - Description string or numeric bullet/percentage value.
Returns: Boolean success for a valid index, including false for an unknown field. Missing spell/data/index returns no values.
Record ownership: The backing template owns child values directly; readers receive copies and setters publish prepared edits. The instance must be admitted as described below; child-value ownership and VM execution are separate contracts. See Lua actor lifetime.