(Probably) Fixed getpowervalue, getpowerdir