<p></p>
<p>The only reasonable way to implement this would seemingly be to continue to store spell lists in their original order (e.g. <code>read/write spell</code> commands would not be affected), but add a secondary table/data field that maps from visible location to slot number. That's doable. Could even allow reordering spells in Level MP lists as long as the row stays the same.</p>
<p>But I think it would be better to have a Swap option than to hold Shift to swap two adjacent slots. It's consistent with the Items menu, and if you've ever tried the <a href="https://en.wikipedia.org/wiki/15_puzzle" rel="nofollow">15-puzzle</a> you realise reordering by swapping adjacent slots is very messy.<br>
Or maybe you meant that it should swap the slots on which you pressed and released shift. That would be a nice alternative (and for Items too).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1179#issuecomment-730238175">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZXLGODQ36Z7SZDA6XTSQTPBBANCNFSM4SB6ZMCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AMWGWZXMIBXHSGHK45MVJEDSQTPBBA5CNFSM4SB6ZMCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFODIZXY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1179#issuecomment-730238175",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1179#issuecomment-730238175",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>