screeps/docs

Constant reversed : POWER_INFO[PWR_OPERATE_POWER].duration

Closed this issue · 1 comments

In the constants section of the docs the POWER_INFO is different than in game.

POWER_INFO[PWR_OPERATE_POWER].duration and cooldown are backwards.

The same may be true for PWR_OPERATE_FACTORY and PWR_OPERATE_CONTROLLER.

Should be fixed now, thanks