Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
My first question is you looking for an easy to use Adjustment or you asking how in the editor to create an archetype or feat that gives access to this spell school?
Thanks Frodie! My question is if he really means "all" Tranmutation spells (ie divine and arcane). Then you would need to modify just a little like below and I added stop logic to not run if the feat is disabled or the witch class is not found:hero.childfound[cHelpMdH].field[cSpellExpr].text = "(" & hero.childfound[cHelpWit].field[cSpellExpr].text & ") | ((sClass.cHelpClr | sClass.cHelpWiz | sClass.cHelpWit) & (sSchool.Transmutat))"
[COLOR="Green"][B]~ If we're disabled, do nothing[/B][/COLOR]
doneif (tagis[Helper.FtDisable] <> 0)
[B][COLOR="Green"]~ If no witch class get out now![/COLOR][/B]
doneif (hero.childlives[cHelpWit] <> 1)
[COLOR="Green"][B]~ Add transmutation school to spell list[/B][/COLOR]
hero.childfound[cHelpWit].field[cSpellExpr].text &= "|sSchool.Transmutat"
Not near HL so couldn't test the logic but logically it looks right. When I get home I will have to test it out quick.Shadow, I copied yours in exactly and it does not appear to work. Changing the priority to Final/10000 and removing the stop logic lines didn't help...
Well yea that would make a difference.I'm pretty sure cSpellExpr is extremely late in the final phase, like 7 9's late.
Well yea that would make a difference.
@Xykal change the timing to what Mathias mentions and see if that gets you going.
Spell level are also tags. So level one is "sLevel.1" level 2 would be "sLevel.2". So you can add that logic to the school to limit the use to specific spells levels...
I think the correct timing is more like Final/999999999
~ in addition to class-specific spells, we're also allowed Sor/Wiz spells from the Illusion and Transmutation schools
field[cSpellExpr].text = "(" & field[cSpellExpr].text & ") | ((sClass.cHelpSor | sClass.cHelpWiz) & (sSchool.Illusion | sSchool.Transmutat))"
[COLOR="Green"][B]~ If we're disabled, do nothing[/B][/COLOR]
doneif (tagis[Helper.FtDisable] <> 0)
[B][COLOR="Green"]~ If no witch class get out now![/COLOR][/B]
doneif (hero.childlives[cHelpWit] <> 1)
[B][COLOR="Green"]~ Add transmutation school and spells picked from spell book[/COLOR][/B]
hero.childfound[cHelpWit].field[cSpellExpr].text &= " | (sSchool.Transmutat & portal.ClsBook)"
[B][COLOR="Green"]
~ Add transmutation school to spell book and specific spell levels here[/COLOR][/B]
hero.childfound[cHelpWit].field[cSplBkExpr].text &= " | ((!Hide.Spell & !Helper.Obsolete & !Helper.Helper) & (sSchool.Transmutat & (" & tagids[sLevel.?,"|"] & ")))"
[B][COLOR="Green"]~ If we're disabled, do nothing[/COLOR][/B]
doneif (tagis[Helper.FtDisable] <> 0)
[B][COLOR="Green"]~ If no feat get out now![/COLOR][/B]
doneif (hero.childlives[[COLOR="Red"]fWitchXXXX[/COLOR]] <> 1)
[B][COLOR="Green"]~ Give access to level 4 to 6[/COLOR][/B]
perform hero.child[[COLOR="Red"]fWitchXXXX[/COLOR]].assign[sLevel.4]
perform hero.child[[COLOR="Red"]fWitchXXXX[/COLOR]].assign[sLevel.5]
perform hero.child[[COLOR="Red"]fWitchXXXX[/COLOR]].assign[sLevel.6]
Yep you have to modify the Mythic Helper spell expression also then. Again I say the below does not work with multiple classes. If you want that you would have to make the script be smarter by figuring out the spellcasting classes and adding in the sClass.? tags. So this is hard coded currently only to work with a witch class.So that added the spells to my spell list, but they don't seem to be showing up on the list of available options for mythic spellcasting.
Any thoughts?
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
~ If no mythic helper get out now!
doneif (hero.childlives[MythHelper] <> 1)
hero.child[MythHelper].field[mhSplExpr].text ="component.BaseSpell & !fieldisempty:sMythic & (sClass.cHelpWit|sSchool.Transmutat) & !Helper.Helper & !Helper.Obsolete"