@LabelIndex 420094
@StringIndex 0
class 0 br_birthday_cake_npc : default_npc {
handler:
	EventHandler CREATED() {
		myself::AddTimerEx(5001,( ( 1000 * 60 ) * 60 ));
		if( myself.sm.in_peacezone == 0 ) {
			myself::AddTimerEx(5002,( 1000 * 60 ));
		}
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 5001 ) {
			myself::Despawn();
		} else if( timer_id == 5002 ) {
			if( myself::Skill_GetConsumeMP(1444085761) < myself.sm.mp && myself::Skill_GetConsumeHP(1444085761) < myself.sm.hp && myself::Skill_InReuseDelay(1444085761) == 0 ) {
				myself::AddUseSkillDesire(myself.sm,1444085761,1,1,1000000);
			}
			myself::AddTimerEx(5002,10000);
		}
		super;
	}

}
