@LabelIndex 135425
@StringIndex 0
class 0 ai_destruct_disciple : ai_destruct_wizard {
parameter:
	int	SelfRangeDebuff_ID = 458752001;
	int	SelfRangeDebuff_Prob = 0;

handler:
	EventHandler ATTACKED(attacker,damage) {
		super;
		if( SelfRangeDebuff_ID != 458752001 ) {
			if( gg::Rand(10000) < SelfRangeDebuff_Prob ) {
				if( myself::Skill_GetConsumeMP(SelfRangeDebuff_ID) < myself.sm.mp && myself::Skill_GetConsumeHP(SelfRangeDebuff_ID) < myself.sm.hp && myself::Skill_InReuseDelay(SelfRangeDebuff_ID) == 0 ) {
					myself::AddUseSkillDesire(myself.sm,SelfRangeDebuff_ID,0,0,1000000);
				}
			}
		}
	}

}
