@LabelIndex 26615
@StringIndex 0
class 0 ai_agit01_partisan_socerer1 : default_npc {
parameter:
	float	Attack_DecayRatio = 6.600000;
	float	UseSkill_DecayRatio = 66000.000000;
	float	Attack_BoostValue = 500.000000;
	float	UseSkill_BoostValue = 100000.000000;

handler:
	EventHandler NO_DESIRE() {
		myself::AddDoNothingDesire(40,20);
	}

	EventHandler CLAN_ATTACKED(attacker,victim,damage) {
		if( ( attacker.is_pc != 0 || myself::IsInCategory(12,attacker.class_id) ) && gg::Rand(100) < 10 ) {
			if( myself::Skill_GetConsumeMP(264962049) < myself.sm.mp && myself::Skill_GetConsumeHP(264962049) < myself.sm.hp && myself::Skill_InReuseDelay(264962049) == 0 ) {
				myself::AddUseSkillDesire(attacker,264962049,0,0,1000000);
			}
		}
	}

	EventHandler SEE_CREATURE(creature) {
		if( creature.is_pc == 0 && myself::IsInCategory(12,creature.class_id) == 0 ) {
			return;
		}
		if( myself::Skill_GetConsumeMP(264962049) < myself.sm.mp && myself::Skill_GetConsumeHP(264962049) < myself.sm.hp && myself::Skill_InReuseDelay(264962049) == 0 ) {
			myself::AddUseSkillDesire(creature,264962049,0,0,1000000);
		}
	}

}
