/** * Split off 'at' items from 'src' into 'dest'. */ public void split(Object src, int amt) { /* Distribute charges of wands, staves, or rods */ src.distribute_charges(this, amt); /* Modify quantity */ number = (byte)amt; if (src.note != null) note = src.note; }