@LabelIndex 114870
@StringIndex 0
class 0 inzone_raid_56_pccafe_boss : inzone_raid_boss_standard {
parameter:
	int	Skill01 = 273219589;
	int	Skill01_Probablity = 10;
	int	Skill01_Target_Type = 0;
	int	Skill02 = 274399237;
	int	Skill02_Probablity = 5;
	int	Skill02_Target_Type = 2;
	string	private_spawn_maker = "obelisk_territory_am1";

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

	EventHandler ATTACKED(attacker,damage,h0,i0,skill_name_id) {
		if( myself.i_ai2 == 0 ) {
			myself.i_ai2 = 1;
			myself::AddTimerEx(8002,( 10 * 1000 ));
		}
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id,maker0,i0) {
		if( timer_id == 8002 && myself.sm.alive == 1 ) {
			i0 = myself::InstantZone_GetId();
			maker0 = gg::InstantZone_GetNpcMaker(i0,private_spawn_maker);
			gg::SendMakerScriptEvent(maker0,5,gg::GetIndexFromCreature(myself.sm),0);
			myself::AddTimerEx(8002,( 35 * 1000 ));
		}
		super;
	}

	EventHandler MY_DYING(i0,maker0) {
		i0 = myself::InstantZone_GetId();
		maker0 = gg::InstantZone_GetNpcMaker(i0,private_spawn_maker);
		gg::SendMakerScriptEvent(maker0,1000,0,0);
		super;
	}

}
