@LabelIndex 101705
@StringIndex 0
class 0 wizard_quarry_seeker : wizard_basic {
handler:
	EventHandler CREATED() {
		myself.c_ai4 = gg::GetNullCreature();
		myself::ChangeMoveType(0);
		super;
	}

	EventHandler NO_DESIRE() {
		myself::ChangeMoveType(0);
		super;
	}

	EventHandler SCRIPT_EVENT(script_event_arg1,script_event_arg2,script_event_arg3,c0,i0) {
		if( script_event_arg2 == 1000001 ) {
			c0 = gg::GetCreatureFromIndex(script_event_arg1);
			if( myself::IsNullCreature(c0) == 0 ) {
				if( MovingAttack == 1 ) {
					myself::RemoveAllAttackDesire();
					myself::AddAttackDesire(c0,1,1000000);
				} else {
					myself::RemoveAllAttackDesire();
					myself::AddAttackDesire(c0,0,1000000);
				}
			}
		}
		super;
	}

	EventHandler NODE_ARRIVED(script_event_arg1,script_event_arg2,script_event_arg3,state,success,s0) {
		myself::ChangeMoveType(0);
		super;
	}

}
