@LabelIndex 52561
@StringIndex 0
class 0 raid_boss_ag_type3_anais : raid_boss_ag_type3 {
handler:
	EventHandler NO_DESIRE() {
		if( myself::InMyTerritory(myself.sm) == 0 ) {
			myself::InstantTeleport(myself.sm,112800,-76160,10);
			myself::AddTimerEx(3001,1000);
		}
		super;
	}

	EventHandler ATTACKED(attacker,damage) {
		if( myself::InMyTerritory(myself.sm) == 0 ) {
			myself::InstantTeleport(myself.sm,112800,-76160,10);
			myself::AddTimerEx(3001,1000);
		}
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 3001 ) {
			myself::RemoveAllHateInfoIF(0,0);
		}
		super;
	}

	EventHandler PARTY_ATTACKED(attacker,private,damage) {
		if( myself::InMyTerritory(private) == 0 && myself::InMyTerritory(myself.sm) == 0 ) {
			myself::InstantTeleport(myself.sm,112800,-76160,10);
			myself::AddTimerEx(3001,1000);
		}
		if( myself::InMyTerritory(private) == 0 ) {
			return;
		}
		super;
	}

	EventHandler USE_SKILL_FINISHED(target,skill_name_id) {
		if( myself::InMyTerritory(myself.sm) == 0 ) {
			myself::InstantTeleport(myself.sm,112800,-76160,10);
			myself::AddTimerEx(3001,1000);
		}
	}

}
