class 1 party_private_berserker : party_private
{
parameter:
	int	Fury = 1033473;
	int	MaxRoarCount = 1;

handler:
	EventHandler CREATED()
	{
		myself.i_ai1 = 0;
		super;
	}

	EventHandler PARTY_DIED(private,i0)
	{
		if( myself.i_ai1 < MaxRoarCount && private != myself.sm )
		{
			i0 = ( Fury + myself.i_ai1 );
			if( myself::Skill_GetConsumeMP(i0) < myself.sm.mp && myself::Skill_GetConsumeHP(i0) < myself.sm.hp && myself::Skill_InReuseDelay(i0) == 0 )
			{
				myself::AddUseSkillDesire(myself.sm,i0,1,1,1000000);
			}
			myself.i_ai1 = ( myself.i_ai1 + 1 );
		}
		super;
	}

}
