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.
Post-levels/10000
~ If we're not activated, just get out now
doneif (field[abilAct2].value = 0)
~ Add +4 to all Knowledge Skills
foreach pick in hero from BaseSkill where "Helper.SkCatKnow"
eachpick.field[Bonus].value += 4
nexteach
So keep in mind a "foreach" loop is very CPU intensive and as we have to worry about running on iPads now we want to use the best method. So instead you can simply add to the "AllKnowledge" thing.ok so I told you wrong. It is abilAct2, not abilActive2....
Code:Post-levels/10000 ~ If we're not activated, just get out now doneif (field[abilAct2].value = 0) ~ Add +4 to all Knowledge Skills foreach pick in hero from BaseSkill where "Helper.SkCatKnow" eachpick.field[Bonus].value += 4 nexteach
~ Set abVlalue 2 so that a outside Thing can adjust this value
field[abValue2].value += 4
~ If we're not 2nd activated then add to knowledge
If (field[abilAct2].value <> 0) Then
~ Add +4 to all Knowledge Skills
hero.child[AllKnow].field[Bonus].value += field[abValue2].value
Endif
#value2[rcDArchive] += 2