I want to change a Trait for a class so that he gains +1% critChance for every second Level he gains Starting at level 1.
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("critChance", 1+(level/2) )
end
This script works fine with other stats like healths or energy or strenght. But when i try it with critChance and run the Game i get an error that he doesnt know this Stat.
My Question is..
Did i simply write the script wrong? i tried it with critChance,CritChance but both didnt work.
Or is increasing Critchance not possible on level up?
Or if it is possible is there another way to do it?
Thanks for any help
