@LabelIndex 16610
@StringIndex 0
class 0 party_private_priest : party_private {
parameter:
	int	Buff = 263979009;

handler:
	EventHandler CREATED() {
		myself::AddTimerEx(5001,20000);
		super;
	}

	EventHandler SEE_CREATURE(creature) {
		if( creature.is_pc != 1 && myself::IsInCategory(12,creature.class_id) == 0 && creature == myself.boss ) {
			if( gg::GetAbnormalLevel(creature,myself::Skill_GetAbnormalType(Buff)) <= 0 && myself.p_state != 3 ) {
				if( myself::Skill_GetConsumeMP(Buff) < myself.sm.mp && myself::Skill_GetConsumeHP(Buff) < myself.sm.hp && myself::Skill_InReuseDelay(Buff) == 0 ) {
					myself::AddUseSkillDesire(creature,Buff,1,1,1000000);
				}
			}
		}
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 5001 ) {
			myself::LookNeighbor(300);
			myself::AddTimerEx(5001,20000);
		}
		super;
	}

}
