how to config these buffs? considering that each skill can only be used at solar, lunar, and stellar days T___T
solar day = even number/date (2,4,6,8)
lunar day = odd number/date (1,3,5,7,9)
stellar day = multiple of 5 number/date (5,10,15,20,25)
I'm in dire need of your help guys T__T
Solar, Lunar, and Stellar Protection for TKM. help T_T
Moderator: Moderators
-
- Noob
- Posts: 12
- Joined: 28 Feb 2011, 22:41
- Noob?: Yes
-
- Developers
- Posts: 124
- Joined: 28 Mar 2011, 12:48
- Noob?: No
- Location: Brazil
Re: Solar, Lunar, and Stellar Protection for TKM. help T_T
Code: Select all
automacro Testing {
#conditions ...
#conditions ...
call {
$day = @arg ("$.datetime", 3)
log -- day = $day
if ($day ~ 2,4,6,8) goto solarDay
if ($day ~ 1,3,5,7,9) goto lunarDay
if ($day ~ 5,10,15,20,25) goto stellarDay
:solarDay
#actions
goto end
:lunarDay
#actions
goto end
>stellarDay
#actions
goto end
:end
}
}