[12789] Implement EVENT_T_ENERGY for EventAI

Close cmangos/issues#511

Signed-off-by: Xfurry <xfurry@scriptdev2.com>