@LabelIndex 110081
@StringIndex 13175
class 0 sw_skillteam : show_npc {
parameter:
	int	MoveType = 0;
	string	SuperPointName = "";
	int	SearchType = 2;
	int	SearchType_Base = 0;
	int	SuperPointDesire = 100000;
	int	IsStaticNpc = 0;

handler:
	EventHandler CREATED() {
		myself::EffectMusic(myself.sm,5000,"TP05_F");
		myself::AddTimerEx(7000,( 3 * 1000 ));
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 7000 ) {
			myself::AddMoveSuperPointDesire(SuperPointName,SearchType,SuperPointDesire);
			myself::AddTimerEx(7001,( 102 * 1000 ));
		}
		if( timer_id == 7001 ) {
			myself::RemoveAllDesire();
			myself::AddTimerEx(7002,1000);
		}
		if( timer_id == 7002 ) {
			if( gg::IsSameString(SuperPointName,"show_skillteam_a1") ) {
				myself::AddMoveToDesire(-56495,-56375,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_a2") ) {
				myself::AddMoveToDesire(-56491,-56289,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_b1") ) {
				myself::AddMoveToDesire(-56496,-56429,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_b2") ) {
				myself::AddMoveToDesire(-56502,-56246,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_c1") ) {
				myself::AddMoveToDesire(-56505,-56334,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_d1") ) {
				myself::AddMoveToDesire(-56545,-56427,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_d2") ) {
				myself::AddMoveToDesire(-56552,-56248,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_e1") ) {
				myself::AddMoveToDesire(-56493,-56473,-2008,20000);
			}
			if( gg::IsSameString(SuperPointName,"show_skillteam_e2") ) {
				myself::AddMoveToDesire(-56504,-56201,-2008,20000);
			}
		}
	}

	EventHandler MOVE_TO_FINISHED(x,y,z) {
		myself::BroadcastScriptEvent(11,6,10000);
		myself::Despawn();
	}

}
