Tạo 1 skill dummy để learn với 4 cấp
Tạo 1 skill HP Regen và Ms với 8 cấp,dùng Unholy aura đó bạn

Tạo 1 biến Unit array
Tạo 1 trigger unit learn a skill
Unit - A unit Learns a skill
(Learned Hero Skill) Equal Dummy
If - Conditions
(In-game time of day) Greater than or equal to 6.00
(In-game time of day) Less than 18.00
Then - Actions
Unit - Set level of Unholy Aura for (Learning Hero) to (Level of Dummy for (Learning Hero))
Else - Actions
Unit - Set level of Unholy for (Learning Hero) to ((Level of for (Learning Hero)) + 4)
Set Unit[Player number owner of Learning Hero] = Learning Hero
Tạo thêm 1 biến Every 1 sc of game time
For loop integer 1 to 12
Check mỗi giây nếu thời gian là ban ngày hoặc đêm thì set level cho Unit[Integer] thôi