@LabelIndex 426356
@StringIndex 0
class 1 jackpot_event_maker : default_maker {
parameter:
	int	RandRate = -1;

handler:
	EventHandler ON_START(i0,i1,i2,def0) {
		super;
		myself::AddTimerEx(47188,1000);
	}

	EventHandler ON_TIMER(timer_id,i0,i1,maker0,def0) {
		if( timer_id == 47188 ) {
			i0 = gg::GetL2Time(0);
			i1 = gg::GetL2Time(1);
			if( ( i0 == 1 || i0 == 7 || i0 == 13 || i0 == 19 ) && i1 == 10 ) {
				myself.i_ai0 = gg::Rand(RandRate);
				myself::AddTimerEx(2222,5000);
				myself::AddTimerEx(47188,( 60 * 1000 ));
			} else {
				myself::AddTimerEx(47188,100);
			}
		}
		if( timer_id == 2222 ) {
			def0 = myself::GetSpawnDefine(0);
			if( gg::IsNull(def0) == 0 ) {
				def0::SendScriptEvent(7777777,myself.i_ai0,0);
			}
		}
	}

}
