@LabelIndex 114827
@StringIndex 14136
class 0 inzone_raid_56_normal_boss : inzone_raid_boss_standard {
parameter:
	int	Skill01 = 344850439;
	int	Skill01_Probablity = 20;
	int	Skill01_Target_Type = 2;

handler:
	EventHandler CREATED() {
		myself::AddTimerEx(2897,( 90 * 1000 ));
		myself::AddTimerEx(9939,( 19 * 1000 ));
		myself.i_ai1 = 0;
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id,i0,i1,h0,private,c0) {
		if( timer_id == 2897 ) {
			h0 = myself::GetMaxHateInfo(0);
			i0 = 0;
			if( myself::IsNullHateInfo(h0) == 0 ) {
				if( myself::IsNullCreature(h0.creature) == 0 ) {
					i0 = 1;
				}
			}
			if( i0 == 1 ) {
				c0 = h0.creature;
			}
			if( myself.i_ai1 < 7 && myself.i_ai0 == 1 ) {
				myself::CreateOnePrivateEx(1018569,"inzone_raid_56_normal_private",0,0,gg::FloatToInt(( myself.sm.x + 10 )),gg::FloatToInt(( myself.sm.y + 10 )),gg::FloatToInt(myself.sm.z),0,1000,gg::GetIndexFromCreature(c0),0);
				myself.i_ai1 = ( myself.i_ai1 + 1 );
			}
			myself::AddTimerEx(2897,( 90 * 1000 ));
		} else if( timer_id == 9939 ) {
			if( myself.i_ai1 > 0 ) {
				i0 = myself::GetHateInfoCount();
				if( i0 > 0 ) {
					i1 = gg::Rand(i0);
					h0 = myself::GetHateInfoByIndex(i1);
				}
				i0 = 0;
				if( myself::IsNullHateInfo(h0) == 0 ) {
					if( myself::IsNullCreature(h0.creature) == 0 ) {
						i0 = 1;
					}
				}
				if( i0 == 1 ) {
					myself::Say(gg::MakeFString(1800182,h0.creature.name,"","","",""));
					myself::BroadcastScriptEvent(1,gg::GetIndexFromCreature(h0.creature),1500);
				}
			} else {
			}
			myself::AddTimerEx(9939,( 24 * 1000 ));
		} else {
		}
		super;
	}

	EventHandler PARTY_DIED(private) {
		if( private != myself.sm ) {
			myself.i_ai1 = ( myself.i_ai1 - 1 );
		}
		super;
	}

}
