@LabelIndex 135788
@StringIndex 0
class 0 ai_destruct_warrior_dd_self_ret : ai_destruct_warrior_ret {
parameter:
	int	SelfRangeDD_ID = 458752001;
	int	SelfRangeDD_Prob = 0;

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

}
