@LabelIndex 26520
@StringIndex 0
class 0 ai_gludio_cleric_stand : default_npc {
parameter:
	float	Attack_DecayRatio = 6.600000;
	float	UseSkill_DecayRatio = 66000.000000;
	float	Attack_BoostValue = 500.000000;
	float	UseSkill_BoostValue = 100000.000000;
	int	MagicHeal = 264568833;

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

	EventHandler CLAN_ATTACKED(attacker,victim,damage) {
		if( victim.hp < ( victim.max_hp * 0.600000 ) && gg::Rand(100) < 20 ) {
			if( myself::Skill_GetConsumeMP(MagicHeal) < myself.sm.mp && myself::Skill_GetConsumeHP(MagicHeal) < myself.sm.hp && myself::Skill_InReuseDelay(MagicHeal) == 0 ) {
				myself::AddUseSkillDesire(victim,MagicHeal,1,0,1000000);
			}
		}
	}

}
