<p></p>
<p>Yes, if an attack teaches a spell that overrides the out-of-battle attack or textbox. The plan is to replace the item file format (WIP) and make all three separate options (plus a 4th trigger script option); I think we should allow all of them to happen. If it both teaches and attacks, it makes sense that they are always targeted on the same hero. But the hero targetting UI will need improving to better indicate what's going on (that's the hard part).</p>
<p>We should preserve the current behaviour in existing games, but can do so without a backcompat bit. Instead, when upgrading to the new item data file format, just delete the OOB attack/textbox if the attack is set to teach a spell, since it does nothing.</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/1162#issuecomment-687690760">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZUQ3CHKD444QFZTSDTSELZZZANCNFSM4Q26RGMA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AMWGWZUEKOLYDU3GCFR7MWTSELZZZA5CNFSM4Q26RGMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFD6VICA.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/1162#issuecomment-687690760",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1162#issuecomment-687690760",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>