@LabelIndex 15647
@StringIndex 4103
class 0 warrior_hero : monster_parameter {
parameter:
	int	HeroSkill = 262209537;

handler:
	EventHandler CREATED(c0) {
		if( myself.sm.param3 != 0 ) {
			c0 = gg::GetCreatureFromIndex(myself.sm.param3);
			if( myself::IsNullCreature(c0) == 0 ) {
				if( myself::Skill_GetConsumeMP(HeroSkill) < myself.sm.mp && myself::Skill_GetConsumeHP(HeroSkill) < myself.sm.hp && myself::Skill_InReuseDelay(HeroSkill) == 0 ) {
					myself::AddUseSkillDesire(c0,HeroSkill,0,1,1000000);
				}
				myself::AddAttackDesire(c0,1,1000);
			}
		}
		myself::AddTimerEx(3001,( 15 * 1000 ));
		myself::AddTimerEx(3002,8000);
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id,i0) {
		if( timer_id == 3001 ) {
			myself::Despawn();
		}
		if( timer_id == 3002 ) {
			i0 = ( 1000434 + gg::Rand(7) );
			myself::Say(gg::MakeFString(i0,"","","","",""));
		}
		super;
	}

}
