Function: GetSpellDisplayEffect(spell, idx, field)
Description: Reads a copied display-effect record from the spell; edits to the stored record cannot invalidate the selected description during this operation.
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.
Returns: Description string or integer bullet/percentage. Missing spell/data/index or an unknown field 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.