- Joined
- Feb 21, 2018
- Messages
- 4,639
- Reaction score
- 3,770
- First Language
- EN
- Primarily Uses
- RMMZ
=>
but that includes a >
, causing the tag to terminate early. (This is why better plugin-writers than I close their code tags with />
instead. Try this instead, it seems to work for me:
<subskills:
const s = subject.skills();
const r = [362];
for (const subskillId of [363, 364])
for (const o of s)
if (o.id === subskillId) {
r.push(subskillId);
break;
}
if (r.length === 1)
return []; // empty
return r;
>
Like in your screenshot, this tag goes in the Note box of the parent skill, i.e. Fire. You don't need any related tags on the subskills. I changed the numbers to match your screenshot, so you should just be able to copy+paste it this time.