Those edit the damage output, but it won't change the effectiveness (you won't see "not very effective" or "super effective"). For that, you'll need to add something to the pbCalcTypeMod function.
Use CTRL + SHIFT + F to search for "def pbCalcTypeMod(moveType, user, target)" and open the one in...