Need a little help with a custom ability.
You gain a bonus to all Knowledge checks equal to half your level.
Script
~our bonus is level /2
var bonus as number
foreach pick in hero from BaseSkill where "Helper.SkCatKnow"
bonus = field[xTotalLev].value / 2
eachpick.field[Bonus].value += maximum(round(bonus,0,-1),1)
perform eachpick.delete[Helper.TrainOnly]
nexteach
You gain a bonus to all Knowledge checks equal to half your level.
Script
~our bonus is level /2
var bonus as number
foreach pick in hero from BaseSkill where "Helper.SkCatKnow"
bonus = field[xTotalLev].value / 2
eachpick.field[Bonus].value += maximum(round(bonus,0,-1),1)
perform eachpick.delete[Helper.TrainOnly]
nexteach