I have a mechanic the hides spells of a certain spell level. I can't seem to get them to grey out. I think its a timing issue. I tried Post levels 10000 and 10500. Final and Render 9999999. First 10000 and Pre-Levels 10000.
Any ideas? Thanks again yall!
Code:
if (hero.child[pFGMPDPL].field[pAdjust].value = 1) then
foreach pick in hero from BaseSpell where "sLevel.2 | sLevel.3 | sLevel.4 | sLevel.5 | sLevel.6 | sLevel.7 | sLevel.8 | sLevel.9"
perform eachpick.delete[ClsAllowSp.?]
perform eachpick.delete[ClsScAllSp.?]
perform eachpick.assign[Hide.Spell]
perform eachpick.assign[Helper.Obsolete]
nexteach
endif
Any ideas? Thanks again yall!