Refactored code of the special powers.

Signed-off-by: Zyk <zyk6870@gmail.com>