class 1 summon_physical_attacker_use_3skill : petfix
{
parameter:
	int	PhysicalSpecial1 = 1116674;
	int	PhysicalSpecial2 = 1116674;
	int	PhysicalSpecial3 = 1116674;

handler:
	EventHandler CREATED()
	{
		myself::AddPetDefaultDesire_Follow(20.000000);
		super;
	}

	EventHandler NO_DESIRE()
	{
		myself::AddPetDefaultDesire_Follow(20.000000);
	}

	EventHandler MENU_SELECTED(talker,ask,reply,action_id,i0,c0,so0)
	{
		switch(action_id)
		{
			case 1016:
			{
				if( myself::Skill_GetConsumeMP(PhysicalSpecial1) < myself.sm.mp && myself::Skill_GetConsumeHP(PhysicalSpecial1) < myself.sm.hp && myself::Skill_InReuseDelay(PhysicalSpecial1) == 0 )
				{
					myself::AddUseSkillDesireEx(myself.master.target_id,PhysicalSpecial1,0,reply,ask,1000000,0);
				}
				break;
			}
			case 1017:
			{
				if( myself::Skill_GetConsumeMP(PhysicalSpecial2) < myself.sm.mp && myself::Skill_GetConsumeHP(PhysicalSpecial2) < myself.sm.hp && myself::Skill_InReuseDelay(PhysicalSpecial2) == 0 )
				{
					myself::AddUseSkillDesireEx(myself.master.target_id,PhysicalSpecial2,0,reply,ask,1000000,0);
				}
				break;
			}
			case 1018:
			{
				if( myself::Skill_GetConsumeMP(PhysicalSpecial3) < myself.sm.mp && myself::Skill_GetConsumeHP(PhysicalSpecial3) < myself.sm.hp && myself::Skill_InReuseDelay(PhysicalSpecial3) == 0 )
				{
					myself::AddUseSkillDesireEx(myself.master.target_id,PhysicalSpecial3,0,reply,ask,1000000,0);
				}
				break;
			}
		}
	}

}
